Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

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