aix-stdint.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* Definitions for <stdint.h> types on systems using AIX.
  2. Copyright (C) 2009-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3, or (at your option)
  7. any later version.
  8. GCC is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. #define SIG_ATOMIC_TYPE "int"
  16. #define INT8_TYPE "signed char"
  17. #define INT16_TYPE "short int"
  18. #define INT32_TYPE "int"
  19. #define INT64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
  20. #define UINT8_TYPE "unsigned char"
  21. #define UINT16_TYPE "short unsigned int"
  22. #define UINT32_TYPE "unsigned int"
  23. #define UINT64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
  24. #define INT_LEAST8_TYPE "signed char"
  25. #define INT_LEAST16_TYPE "short int"
  26. #define INT_LEAST32_TYPE "int"
  27. #define INT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
  28. #define UINT_LEAST8_TYPE "unsigned char"
  29. #define UINT_LEAST16_TYPE "short unsigned int"
  30. #define UINT_LEAST32_TYPE "unsigned int"
  31. #define UINT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
  32. #define INT_FAST8_TYPE "signed char"
  33. #define INT_FAST16_TYPE "short int"
  34. #define INT_FAST32_TYPE "int"
  35. #define INT_FAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
  36. #define UINT_FAST8_TYPE "unsigned char"
  37. #define UINT_FAST16_TYPE "short unsigned int"
  38. #define UINT_FAST32_TYPE "unsigned int"
  39. #define UINT_FAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
  40. #define INTPTR_TYPE "long int"
  41. #define UINTPTR_TYPE "long unsigned int"