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