ardix/include/limits.h
Felix f0dc3a3433
kiss capitalism goodbye for good
The CNPL will make sure that absolutely no corporation is going to get
anywhere near Ardix -- exactly as it should be.  Fuck you, corporations!
2021-05-10 16:19:38 +02:00

41 lines
1.3 KiB
C

/* See the end of this file for copyright, license, and warranty information. */
#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)
/*
* This file is part of Ardix.
* Copyright (c) 2020, 2021 Felix Kopp <owo@fef.moe>.
*
* 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>.
*
* Ardix comes with ABSOLUTELY NO WARRANTY, to the extent
* permitted by applicable law. See the CNPLv6+ for details.
*/