OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / djgpp-stdint.h
1 /* Definitions for <stdint.h> types on systems using DJGPP.
2    Copyright (C) 2009 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 /* Exact-width integer types */
23
24 #define INT8_TYPE "signed char"
25 #define INT16_TYPE "signed short int"
26 #define INT32_TYPE "signed long int"
27 #define INT64_TYPE "signed long long int"
28
29 #define UINT8_TYPE "unsigned char"
30 #define UINT16_TYPE "short unsigned int"
31 #define UINT32_TYPE "long unsigned int"
32 #define UINT64_TYPE "long long unsigned int"
33
34 /* Minimum-width integer types */
35
36 #define INT_LEAST8_TYPE "signed char"
37 #define INT_LEAST16_TYPE "signed short int"
38 #define INT_LEAST32_TYPE "signed int"
39 #define INT_LEAST64_TYPE "signed long long int"
40
41 #define UINT_LEAST8_TYPE "unsigned char"
42 #define UINT_LEAST16_TYPE "short unsigned int"
43 #define UINT_LEAST32_TYPE "unsigned int"
44 #define UINT_LEAST64_TYPE "long long unsigned int"
45
46 /* Fastest minimum-width integer types */
47
48 #define INT_FAST8_TYPE "signed char"
49 #define INT_FAST16_TYPE "signed int"
50 #define INT_FAST32_TYPE "signed int"
51 #define INT_FAST64_TYPE "long long signed int"
52
53 #define UINT_FAST8_TYPE "unsigned char"
54 #define UINT_FAST16_TYPE "unsigned int"
55 #define UINT_FAST32_TYPE "unsigned int"
56 #define UINT_FAST64_TYPE "long long unsigned int"
57
58 /* Integer types capable of holding object pointers */
59
60 #define INTPTR_TYPE "long int"
61 #define UINTPTR_TYPE "long unsigned int"
62