Publish VCC Plus OSS source distribution for 3.6.2 build 60
This commit is contained in:
commit
c652a5276d
1192 files changed
+272368
No files matched your search
@@ -0,0 +1,41 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#ifndef VCC_COMPAT_STDINT_H
|
||||
#define VCC_COMPAT_STDINT_H
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
// coco.h uses the same guard and types for its exact-width declarations.
|
||||
#ifndef _CMOC_STDINT_
|
||||
#define _CMOC_STDINT_
|
||||
typedef signed char int8_t;
|
||||
typedef unsigned char uint8_t;
|
||||
typedef signed int int16_t;
|
||||
typedef unsigned int uint16_t;
|
||||
typedef signed long int32_t;
|
||||
typedef unsigned long uint32_t;
|
||||
#endif
|
||||
|
||||
typedef signed int intptr_t;
|
||||
typedef unsigned int uintptr_t;
|
||||
typedef signed long intmax_t;
|
||||
typedef unsigned long uintmax_t;
|
||||
#define INT8_MIN SCHAR_MIN
|
||||
#define INT8_MAX SCHAR_MAX
|
||||
#define UINT8_MAX UCHAR_MAX
|
||||
#define INT16_MIN INT_MIN
|
||||
#define INT16_MAX INT_MAX
|
||||
#define UINT16_MAX UINT_MAX
|
||||
#define INT32_MIN LONG_MIN
|
||||
#define INT32_MAX LONG_MAX
|
||||
#define UINT32_MAX ULONG_MAX
|
||||
#define INTPTR_MIN INT_MIN
|
||||
#define INTPTR_MAX INT_MAX
|
||||
#define UINTPTR_MAX UINT_MAX
|
||||
#define INTMAX_MIN LONG_MIN
|
||||
#define INTMAX_MAX LONG_MAX
|
||||
#define UINTMAX_MAX ULONG_MAX
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX 0xFFFFu
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user