os_type.h 629 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef _OS_Type_H__
  2. #define _OS_Type_H__
  3. #include <string.h>
  4. #include <stdlib.h>
  5. #include <stdio.h>
  6. #include <stdint.h>
  7. #include <stdbool.h>
  8. #ifndef TRUE
  9. #define TRUE 1
  10. #endif
  11. #ifndef FALSE
  12. #define FALSE 0
  13. #endif
  14. typedef uint8_t u8;
  15. typedef uint16_t u16;
  16. typedef uint32_t u24;
  17. typedef uint32_t u32;
  18. typedef uint64_t u64;
  19. typedef int8_t s8;
  20. typedef int16_t s16;
  21. typedef int32_t s24;
  22. typedef int32_t s32;
  23. typedef int64_t s64;
  24. typedef signed char int8;
  25. typedef signed short int16;
  26. typedef signed int int32;
  27. typedef unsigned char uint8;
  28. typedef unsigned short uint16;
  29. typedef unsigned int uint32;
  30. #endif /* _OS_Type_H__ */