2022-07-12 16:47:25 +00:00
|
|
|
#ifndef STDINT_H
|
|
|
|
#define STDINT_H
|
|
|
|
|
2023-10-17 19:16:31 +00:00
|
|
|
typedef signed long intptr_t;
|
|
|
|
typedef unsigned long uintptr_t;
|
2022-07-12 16:47:25 +00:00
|
|
|
|
|
|
|
#define INT8_MIN (-0x80)
|
|
|
|
#define INT16_MIN (-0x8000)
|
|
|
|
#define INT32_MIN (-0x80000000)
|
|
|
|
#define INT64_MIN (-0x8000000000000000)
|
|
|
|
|
|
|
|
#define INT8_MAX 0x7F
|
|
|
|
#define INT16_MAX 0x7FFF
|
|
|
|
#define INT32_MAX 0x7FFFFFFF
|
|
|
|
#define INT64_MAX 0x7FFFFFFFFFFFFFFF
|
|
|
|
|
|
|
|
#define UINT8_MAX 0xFF
|
|
|
|
#define UINT16_MAX 0xFFFF
|
|
|
|
#define UINT32_MAX 0xFFFFFFFF
|
|
|
|
#define UINT64_MAX 0xFFFFFFFFFFFFFFFF
|
|
|
|
|
|
|
|
#define INTPTR_MIN INT32_MIN
|
|
|
|
#define INTPTR_MAX INT32_MAX
|
|
|
|
#define UINTPTR_MAX UINT32_MAX
|
|
|
|
|
|
|
|
#endif
|