stdint-newlib.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* DO NOT EDIT THIS FILE.
  2. It has been auto-edited by fixincludes from:
  3. "fixinc/tests/inc/stdint-newlib.h"
  4. This had to be done to correct non-standard usages in the
  5. original, manufacturer supplied header file. */
  6. #if defined( NEWLIB_STDINT_1_CHECK )
  7. /* @todo - Add support for wint_t types. */
  8. #define INT32_MIN (-INT32_MAX - 1)
  9. #define INT32_MAX __INT32_MAX__
  10. #define UINT32_MAX __UINT32_MAX__
  11. #define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)
  12. #define INT_LEAST32_MAX __INT_LEAST32_MAX__
  13. #define UINT_LEAST32_MAX __UINT_LEAST32_MAX__
  14. #define INT_FAST8_MIN (-INT_FAST8_MAX - 1)
  15. #define INT_FAST8_MAX __INT_FAST8_MAX__
  16. #define UINT_FAST8_MAX __UINT_FAST8_MAX__
  17. #define SIZE_MAX __SIZE_MAX__
  18. #define PTRDIFF_MIN (-PTRDIFF_MAX - 1)
  19. #define PTRDIFF_MAX __PTRDIFF_MAX__
  20. #define UINT8_C(c) __UINT8_C(c)
  21. #define UINT16_C(c) __UINT16_C(c)
  22. #endif /* NEWLIB_STDINT_1_CHECK */
  23. #if defined( NEWLIB_STDINT_2_CHECK )
  24. /* @todo - Add support for wint_t types. */
  25. #define INTMAX_MAX __INTMAX_MAX__
  26. #define INTMAX_MIN (-INTMAX_MAX - 1)
  27. #define UINTMAX_MAX __UINTMAX_MAX__
  28. #define WCHAR_MAX __WCHAR_MAX__
  29. #define WCHAR_MIN __WCHAR_MIN__
  30. #define WINT_MAX __WINT_MAX__
  31. #define WINT_MIN __WINT_MIN__
  32. /** Macros for minimum-width integer constant expressions */
  33. #endif /* NEWLIB_STDINT_2_CHECK */