Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/cygwin-stdint.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | 77e2b8dfacca |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Definitions for <stdint.h> types on systems using Cygwin. | 1 /* Definitions for <stdint.h> types on systems using Cygwin. |
2 Copyright (C) 2009 Free Software Foundation, Inc. | 2 Copyright (C) 2009-2017 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify | 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 | 7 it under the terms of the GNU General Public License as published by |
22 /* Exact-width integer types */ | 22 /* Exact-width integer types */ |
23 | 23 |
24 #define INT8_TYPE "signed char" | 24 #define INT8_TYPE "signed char" |
25 #define INT16_TYPE "short int" | 25 #define INT16_TYPE "short int" |
26 #define INT32_TYPE "int" | 26 #define INT32_TYPE "int" |
27 #define INT64_TYPE "long long int" | 27 #define INT64_TYPE (TARGET_64BIT ? "long int" : "long long int") |
28 | 28 |
29 #define UINT8_TYPE "unsigned char" | 29 #define UINT8_TYPE "unsigned char" |
30 #define UINT16_TYPE "short unsigned int" | 30 #define UINT16_TYPE "short unsigned int" |
31 #define UINT32_TYPE "unsigned int" | 31 #define UINT32_TYPE "unsigned int" |
32 #define UINT64_TYPE "long long unsigned int" | 32 #define UINT64_TYPE (TARGET_64BIT ? "long unsigned int" : "long long unsigned int") |
33 | 33 |
34 /* Minimum-width integer types */ | 34 /* Minimum-width integer types */ |
35 | 35 |
36 #define INT_LEAST8_TYPE "signed char" | 36 #define INT_LEAST8_TYPE "signed char" |
37 #define INT_LEAST16_TYPE "short int" | 37 #define INT_LEAST16_TYPE "short int" |
38 #define INT_LEAST32_TYPE "int" | 38 #define INT_LEAST32_TYPE "int" |
39 #define INT_LEAST64_TYPE "long long int" | 39 #define INT_LEAST64_TYPE (TARGET_64BIT ? "long int" : "long long int") |
40 | 40 |
41 #define UINT_LEAST8_TYPE "unsigned char" | 41 #define UINT_LEAST8_TYPE "unsigned char" |
42 #define UINT_LEAST16_TYPE "short unsigned int" | 42 #define UINT_LEAST16_TYPE "short unsigned int" |
43 #define UINT_LEAST32_TYPE "unsigned int" | 43 #define UINT_LEAST32_TYPE "unsigned int" |
44 #define UINT_LEAST64_TYPE "long long unsigned int" | 44 #define UINT_LEAST64_TYPE (TARGET_64BIT ? "long unsigned int" : "long long unsigned int") |
45 | 45 |
46 /* Fastest minimum-width integer types */ | 46 /* Fastest minimum-width integer types */ |
47 | 47 |
48 #define INT_FAST8_TYPE "signed char" | 48 #define INT_FAST8_TYPE "signed char" |
49 #define INT_FAST16_TYPE "int" | 49 #define INT_FAST16_TYPE (TARGET_64BIT ? "long int" : "int") |
50 #define INT_FAST32_TYPE "int" | 50 #define INT_FAST32_TYPE (TARGET_64BIT ? "long int" : "int") |
51 #define INT_FAST64_TYPE "long long int" | 51 #define INT_FAST64_TYPE (TARGET_64BIT ? "long int" : "long long int") |
52 | 52 |
53 #define UINT_FAST8_TYPE "unsigned char" | 53 #define UINT_FAST8_TYPE "unsigned char" |
54 #define UINT_FAST16_TYPE "unsigned int" | 54 #define UINT_FAST16_TYPE (TARGET_64BIT ? "long unsigned int" : "unsigned int") |
55 #define UINT_FAST32_TYPE "unsigned int" | 55 #define UINT_FAST32_TYPE (TARGET_64BIT ? "long unsigned int" : "unsigned int") |
56 #define UINT_FAST64_TYPE "long long unsigned int" | 56 #define UINT_FAST64_TYPE (TARGET_64BIT ? "long unsigned int" : "long long unsigned int") |
57 | 57 |
58 /* Integer types capable of holding object pointers */ | 58 /* Integer types capable of holding object pointers */ |
59 | 59 |
60 #define INTPTR_TYPE "int" | 60 #define INTPTR_TYPE (TARGET_64BIT ? "long int" : "int") |
61 #define UINTPTR_TYPE "unsigned int" | 61 #define UINTPTR_TYPE (TARGET_64BIT ? "long unsigned int" : "unsigned int") |
62 |