Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / gcc47 / patches / patch-gcc_config_dragonfly-stdint.h
blob20d3e6ac0703b1d3657e571d281cb905c2cfe6b2
1 $NetBSD$
3 --- gcc/config/dragonfly-stdint.h.orig 2012-06-22 10:35:29.000000000 +0000
4 +++ gcc/config/dragonfly-stdint.h
5 @@ -0,0 +1,56 @@
6 +/* Definitions for <stdint.h> types for DragonFly systems.
7 + Copyright (C) 2009 Free Software Foundation, Inc.
8 + Contributed by Gerald Pfeifer <gerald@pfeifer.com>.
10 +This file is part of GCC.
12 +GCC is free software; you can redistribute it and/or modify
13 +it under the terms of the GNU General Public License as published by
14 +the Free Software Foundation; either version 3, or (at your option)
15 +any later version.
17 +GCC is distributed in the hope that it will be useful,
18 +but WITHOUT ANY WARRANTY; without even the implied warranty of
19 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 +GNU General Public License for more details.
22 +Under Section 7 of GPL version 3, you are granted additional
23 +permissions described in the GCC Runtime Library Exception, version
24 +3.1, as published by the Free Software Foundation.
26 +You should have received a copy of the GNU General Public License and
27 +a copy of the GCC Runtime Library Exception along with this program;
28 +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
29 +<http://www.gnu.org/licenses/>. */
31 +#define SIG_ATOMIC_TYPE "int"
33 +#define INT8_TYPE "signed char"
34 +#define INT16_TYPE "short int"
35 +#define INT32_TYPE "int"
36 +#define INT64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
37 +#define UINT8_TYPE "unsigned char"
38 +#define UINT16_TYPE "short unsigned int"
39 +#define UINT32_TYPE "unsigned int"
40 +#define UINT64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
42 +#define INT_LEAST8_TYPE INT8_TYPE
43 +#define INT_LEAST16_TYPE INT16_TYPE
44 +#define INT_LEAST32_TYPE INT32_TYPE
45 +#define INT_LEAST64_TYPE INT64_TYPE
46 +#define UINT_LEAST8_TYPE UINT8_TYPE
47 +#define UINT_LEAST16_TYPE UINT16_TYPE
48 +#define UINT_LEAST32_TYPE UINT32_TYPE
49 +#define UINT_LEAST64_TYPE UINT64_TYPE
51 +#define INT_FAST8_TYPE INT32_TYPE
52 +#define INT_FAST16_TYPE INT32_TYPE
53 +#define INT_FAST32_TYPE INT32_TYPE
54 +#define INT_FAST64_TYPE INT64_TYPE
55 +#define UINT_FAST8_TYPE UINT32_TYPE
56 +#define UINT_FAST16_TYPE UINT32_TYPE
57 +#define UINT_FAST32_TYPE UINT32_TYPE
58 +#define UINT_FAST64_TYPE UINT64_TYPE
60 +#define INTPTR_TYPE (LONG_TYPE_SIZE == 64 ? INT64_TYPE : INT32_TYPE)
61 +#define UINTPTR_TYPE (LONG_TYPE_SIZE == 64 ? UINT64_TYPE : UINT32_TYPE)