Added the uint32_t type, will have to clean the mess up in this file someday

This commit is contained in:
anschrammh 2023-04-05 07:59:12 +02:00
parent 3fc2297f17
commit 0e1bed0452

View File

@ -51,7 +51,6 @@ typedef unsigned char INT8U;
#endif #endif
typedef signed char INT8S; typedef signed char INT8S;
//typedef unsigned char bool;
typedef unsigned char u8; typedef unsigned char u8;
typedef signed char s8; typedef signed char s8;
typedef unsigned short u16; typedef unsigned short u16;
@ -78,25 +77,55 @@ typedef int int32_t;
typedef unsigned int uint32_t; typedef unsigned int uint32_t;
#endif #endif
#ifdef int64
#undef int64
#endif
typedef long long int64;
#ifdef int64_t
#undef int64_t
#endif
typedef long long int64_t;
#ifdef uint64
#undef uint64
#endif
typedef unsigned long long uint64;
#ifdef uint64_t
#undef uint64_t
#endif
typedef unsigned long long uint64_t;
#ifdef int32 #ifdef int32
#undef int32 #undef int32
#endif #endif
typedef int int32; typedef int int32;
#ifdef int32_t
#undef int32_t
#endif
typedef int int32_t;
#ifdef uint32 #ifdef uint32
#undef uint32 #undef uint32
#endif #endif
typedef unsigned int uint32; typedef unsigned int uint32;
#ifdef uint32_t
#undef uint32_t
#endif
typedef unsigned int uint32_t;
#ifdef int16 #ifdef int16
#undef int16 #undef int16
#endif #endif
typedef short int16; typedef short int16;
#ifdef uint16 #ifdef uint16
#undef uint16 #undef uint16
#endif #endif
typedef unsigned short uint16; typedef unsigned short uint16;
#ifdef ULONG #ifdef ULONG
#undef ULONG #undef ULONG
@ -108,6 +137,11 @@ typedef unsigned long ULONG;
#endif #endif
typedef unsigned char u8_t; typedef unsigned char u8_t;
#ifdef int8_t
#undef int8_t
#endif
typedef signed char int8_t;
#ifdef uint8_t #ifdef uint8_t
#undef uint8_t #undef uint8_t
#endif #endif
@ -128,7 +162,6 @@ typedef unsigned short uint16_t;
#endif #endif
typedef unsigned int u32_t; typedef unsigned int u32_t;
#ifdef s8_t #ifdef s8_t
#undef s8_t #undef s8_t
#endif #endif