ardix/include/limits.h

42 lines
1.3 KiB
C
Raw Normal View History

/* See the end of this file for copyright, license, and warranty information. */
2020-06-17 20:40:22 +02:00
#pragma once
#define CHAR_MAX __SCHAR_MAX__
#define CHAR_MIN (CHAR_MAX + 1)
#define UCHAR_MAX ((unsigned char)0 - 1)
#define UCHAR_MIN ((unsigned char)0)
#define SHRT_MAX __SHRT_MAX__
#define SHRT_MIN (SHRT_MAX + 1)
#define USHRT_MAX ((unsigned short)0 - 1)
#define USHRT_MIN ((unsigned short)0)
#define INT_MAX __INT_MAX__
#define INT_MIN (INT_MAX + 1)
#define UINT_MAX ((unsigned int)0 - 1)
#define UINT_MIN ((unsigned int)0)
#define LONG_MAX __LONG_MAX__
#define LONG_MIN (LONG_MAX + 1)
#define ULONG_MAX ((unsigned long)0 - 1)
#define ULONG_MIN ((unsigned long)0)
#define LLONG_MAX __LLONG_MAX__
#define LLONG_MIN (LLONG_MAX + 1)
#define ULLONG_MAX ((unsigned long long)0 - 1)
#define ULLONG_MIN ((unsigned long long)0)
2020-10-11 19:35:30 +02:00
/*
* This file is part of Ardix.
* Copyright (c) 2020, 2021 Felix Kopp <owo@fef.moe>.
2020-10-11 19:35:30 +02:00
*
* Ardix is non-violent software: you may only use, redistribute,
* and/or modify it under the terms of the CNPLv6+ as found in
* the LICENSE file in the source code root directory or at
* <https://git.pixie.town/thufie/CNPL>.
2020-10-11 19:35:30 +02:00
*
* Ardix comes with ABSOLUTELY NO WARRANTY, to the extent
* permitted by applicable law. See the CNPLv6+ for details.
2020-10-11 19:35:30 +02:00
*/