stdint-aix.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* DO NOT EDIT THIS FILE.
  2. It has been auto-edited by fixincludes from:
  3. "fixinc/tests/inc/stdint-aix.h"
  4. This had to be done to correct non-standard usages in the
  5. original, manufacturer supplied header file. */
  6. #if defined( AIX_STDINT_1_CHECK )
  7. #define UINT8_MAX (255)
  8. #define UINT16_MAX (65535)
  9. #endif /* AIX_STDINT_1_CHECK */
  10. #if defined( AIX_STDINT_2_CHECK )
  11. #define INTPTR_MIN (-INTPTR_MAX-1)
  12. #define INTPTR_MAX 9223372036854775807L
  13. #define UINTPTR_MAX 18446744073709551615UL
  14. #else
  15. #define INTPTR_MIN (-INTPTR_MAX-1)
  16. #define INTPTR_MAX 2147483647L
  17. #define UINTPTR_MAX 4294967295UL
  18. #endif /* AIX_STDINT_2_CHECK */
  19. #if defined( AIX_STDINT_3_CHECK )
  20. #define PTRDIFF_MIN (-9223372036854775807L - 1)
  21. #define PTRDIFF_MAX 9223372036854775807L
  22. #else
  23. #define PTRDIFF_MIN (-2147483647L - 1)
  24. #define PTRDIFF_MAX 2147483647L
  25. #endif /* AIX_STDINT_3_CHECK */
  26. #if defined( AIX_STDINT_4_CHECK )
  27. #define SIZE_MAX 18446744073709551615UL
  28. #else
  29. #define SIZE_MAX 4294967295UL
  30. #endif /* AIX_STDINT_4_CHECK */
  31. #if defined( AIX_STDINT_5_CHECK )
  32. #define UINT8_C(c) c
  33. #define UINT16_C(c) c
  34. #endif /* AIX_STDINT_5_CHECK */