stdint.h 439 B

12345678910111213141516171819202122
  1. #ifndef __LIB_STDINT_H
  2. #define __LIB_STDINT_H
  3. #define NULL ((void *)0)
  4. #define true 1
  5. #define false 0
  6. typedef signed char int8_t;
  7. typedef signed short int16_t;
  8. typedef signed int int32_t;
  9. typedef signed long long int64_t;
  10. typedef unsigned char uint8_t;
  11. typedef unsigned short uint16_t;
  12. typedef unsigned int uint32_t;
  13. typedef unsigned long long uint64_t;
  14. typedef uint8_t bool;
  15. typedef unsigned long uintptr_t;
  16. #endif // __LIB_STDINT_H