Mercurial > hg > octave-lojdl > gnulib-hg
annotate lib/inttypes.in.h @ 17426:90f3d53e01f5
sig2str: port to C++
* lib/sig2str.h (sig2str, str2sig): Declare as extern "C".
Reported by Daniel J Sebald in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00000.html>.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 02 Jun 2013 11:52:41 -0700 |
parents | e542fd46ad6f |
children |
rev | line source |
---|---|
17249
e542fd46ad6f
maint: update all copyright year number ranges
Eric Blake <eblake@redhat.com>
parents:
16230
diff
changeset
|
1 /* Copyright (C) 2006-2013 Free Software Foundation, Inc. |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 Written by Paul Eggert, Bruno Haible, Derek Price. |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 This file is part of gnulib. |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
9306
diff
changeset
|
5 This program is free software: you can redistribute it and/or modify |
9306
7b05f64002af
Change copyright notice from LGPL to GPL.
Bruno Haible <bruno@clisp.org>
parents:
9253
diff
changeset
|
6 it under the terms of the GNU General Public License as published by |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
9306
diff
changeset
|
7 the Free Software Foundation; either version 3 of the License, or |
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
9306
diff
changeset
|
8 (at your option) any later version. |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 This program is distributed in the hope that it will be useful, |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 GNU General Public License for more details. |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 |
9306
7b05f64002af
Change copyright notice from LGPL to GPL.
Bruno Haible <bruno@clisp.org>
parents:
9253
diff
changeset
|
15 You should have received a copy of the GNU General Public License |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
9306
diff
changeset
|
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
17 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
18 /* |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
19 * ISO C 99 <inttypes.h> for platforms that lack it. |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
20 * <http://www.opengroup.org/susv3xbd/inttypes.h.html> |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
21 */ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
22 |
13055
c7be8484e434
maint: use pragma consistently across replacement headers
Eric Blake <eblake@redhat.com>
parents:
12766
diff
changeset
|
23 #if __GNUC__ >= 3 |
c7be8484e434
maint: use pragma consistently across replacement headers
Eric Blake <eblake@redhat.com>
parents:
12766
diff
changeset
|
24 @PRAGMA_SYSTEM_HEADER@ |
c7be8484e434
maint: use pragma consistently across replacement headers
Eric Blake <eblake@redhat.com>
parents:
12766
diff
changeset
|
25 #endif |
13761
a19ace3ba849
Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents:
13055
diff
changeset
|
26 @PRAGMA_COLUMNS@ |
13055
c7be8484e434
maint: use pragma consistently across replacement headers
Eric Blake <eblake@redhat.com>
parents:
12766
diff
changeset
|
27 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
28 /* Include the original <inttypes.h> if it exists, and if this file |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
29 has not been included yet or if this file includes gnulib stdint.h |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
30 which in turn includes this file. |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
31 The include_next requires a split double-inclusion guard. */ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
32 #if ! defined INTTYPES_H || defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
33 # if @HAVE_INTTYPES_H@ |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
34 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
35 /* Some pre-C++11 <stdint.h> implementations need this. */ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
36 # if defined __cplusplus && ! defined __STDC_FORMAT_MACROS |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
37 # define __STDC_FORMAT_MACROS 1 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
38 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
39 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
40 # @INCLUDE_NEXT@ @NEXT_INTTYPES_H@ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
41 # endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
42 #endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
43 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
44 #if ! defined INTTYPES_H && ! defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
45 #define INTTYPES_H |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
46 |
12491
ad883448fbdf
Reduce namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
12422
diff
changeset
|
47 /* Include <stdint.h> or the gnulib replacement. |
ad883448fbdf
Reduce namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
12422
diff
changeset
|
48 But avoid namespace pollution on glibc systems. */ |
ad883448fbdf
Reduce namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
12422
diff
changeset
|
49 #ifndef __GLIBC__ |
ad883448fbdf
Reduce namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
12422
diff
changeset
|
50 # include <stdint.h> |
ad883448fbdf
Reduce namespace pollution on glibc systems.
Bruno Haible <bruno@clisp.org>
parents:
12422
diff
changeset
|
51 #endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
52 /* Get CHAR_BIT. */ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
53 #include <limits.h> |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
54 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
55 #if !(INT_MIN == INT32_MIN && INT_MAX == INT32_MAX) |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
56 # error "This file assumes that 'int' has exactly 32 bits. Please report your platform and compiler to <bug-gnulib@gnu.org>." |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
57 #endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
58 |
16229 | 59 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ |
60 | |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
61 /* The definition of _GL_ARG_NONNULL is copied here. */ |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
62 |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
63 /* The definition of _GL_WARN_ON_USE is copied here. */ |
12422
f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents:
11227
diff
changeset
|
64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
65 /* 7.8.1 Macros for format specifiers */ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
66 |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
67 #if defined _TNS_R_TARGET |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
68 /* Tandem NonStop R series and compatible platforms released before |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
69 July 2005 support %Ld but not %lld. */ |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
70 # define _LONG_LONG_FORMAT_PREFIX "L" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
71 #else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
72 # define _LONG_LONG_FORMAT_PREFIX "ll" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
73 #endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
74 |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
75 #if !defined PRId8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
76 # undef PRId8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
77 # ifdef INT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
78 # define PRId8 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
79 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
80 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
81 #if !defined PRIi8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
82 # undef PRIi8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
83 # ifdef INT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
84 # define PRIi8 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
85 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
86 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
87 #if !defined PRIo8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
88 # undef PRIo8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
89 # ifdef UINT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
90 # define PRIo8 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
91 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
92 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
93 #if !defined PRIu8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
94 # undef PRIu8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
95 # ifdef UINT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
96 # define PRIu8 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
97 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
98 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
99 #if !defined PRIx8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
100 # undef PRIx8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
101 # ifdef UINT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
102 # define PRIx8 "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
103 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
104 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
105 #if !defined PRIX8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
106 # undef PRIX8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
107 # ifdef UINT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
108 # define PRIX8 "X" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
109 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
110 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
111 #if !defined PRId16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
112 # undef PRId16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
113 # ifdef INT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
114 # define PRId16 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
115 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
116 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
117 #if !defined PRIi16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
118 # undef PRIi16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
119 # ifdef INT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
120 # define PRIi16 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
121 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
122 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
123 #if !defined PRIo16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
124 # undef PRIo16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
125 # ifdef UINT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
126 # define PRIo16 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
127 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
128 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
129 #if !defined PRIu16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
130 # undef PRIu16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
131 # ifdef UINT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
132 # define PRIu16 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
133 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
134 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
135 #if !defined PRIx16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
136 # undef PRIx16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
137 # ifdef UINT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
138 # define PRIx16 "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
139 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
140 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
141 #if !defined PRIX16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
142 # undef PRIX16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
143 # ifdef UINT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
144 # define PRIX16 "X" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
145 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
146 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
147 #if !defined PRId32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
148 # undef PRId32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
149 # ifdef INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
150 # define PRId32 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
151 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
152 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
153 #if !defined PRIi32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
154 # undef PRIi32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
155 # ifdef INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
156 # define PRIi32 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
157 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
158 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
159 #if !defined PRIo32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
160 # undef PRIo32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
161 # ifdef UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
162 # define PRIo32 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
163 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
164 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
165 #if !defined PRIu32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
166 # undef PRIu32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
167 # ifdef UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
168 # define PRIu32 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
169 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
170 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
171 #if !defined PRIx32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
172 # undef PRIx32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
173 # ifdef UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
174 # define PRIx32 "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
175 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
176 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
177 #if !defined PRIX32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
178 # undef PRIX32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
179 # ifdef UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
180 # define PRIX32 "X" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
181 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
182 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
183 #ifdef INT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
184 # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
185 # define _PRI64_PREFIX "l" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
186 # elif defined _MSC_VER || defined __MINGW32__ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
187 # define _PRI64_PREFIX "I64" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
188 # elif @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
189 # define _PRI64_PREFIX _LONG_LONG_FORMAT_PREFIX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
190 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
191 # if !defined PRId64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
192 # undef PRId64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
193 # define PRId64 _PRI64_PREFIX "d" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
194 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
195 # if !defined PRIi64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
196 # undef PRIi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
197 # define PRIi64 _PRI64_PREFIX "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
198 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
199 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
200 #ifdef UINT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
201 # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
202 # define _PRIu64_PREFIX "l" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
203 # elif defined _MSC_VER || defined __MINGW32__ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
204 # define _PRIu64_PREFIX "I64" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
205 # elif @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
206 # define _PRIu64_PREFIX _LONG_LONG_FORMAT_PREFIX |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
207 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
208 # if !defined PRIo64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
209 # undef PRIo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
210 # define PRIo64 _PRIu64_PREFIX "o" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
211 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
212 # if !defined PRIu64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
213 # undef PRIu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
214 # define PRIu64 _PRIu64_PREFIX "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
215 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
216 # if !defined PRIx64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
217 # undef PRIx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
218 # define PRIx64 _PRIu64_PREFIX "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
219 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
220 # if !defined PRIX64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
221 # undef PRIX64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
222 # define PRIX64 _PRIu64_PREFIX "X" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
223 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
224 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
225 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
226 #if !defined PRIdLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
227 # undef PRIdLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
228 # define PRIdLEAST8 "d" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
229 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
230 #if !defined PRIiLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
231 # undef PRIiLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
232 # define PRIiLEAST8 "i" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
233 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
234 #if !defined PRIoLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
235 # undef PRIoLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
236 # define PRIoLEAST8 "o" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
237 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
238 #if !defined PRIuLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
239 # undef PRIuLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
240 # define PRIuLEAST8 "u" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
241 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
242 #if !defined PRIxLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
243 # undef PRIxLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
244 # define PRIxLEAST8 "x" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
245 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
246 #if !defined PRIXLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
247 # undef PRIXLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
248 # define PRIXLEAST8 "X" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
249 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
250 #if !defined PRIdLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
251 # undef PRIdLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
252 # define PRIdLEAST16 "d" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
253 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
254 #if !defined PRIiLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
255 # undef PRIiLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
256 # define PRIiLEAST16 "i" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
257 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
258 #if !defined PRIoLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
259 # undef PRIoLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
260 # define PRIoLEAST16 "o" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
261 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
262 #if !defined PRIuLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
263 # undef PRIuLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
264 # define PRIuLEAST16 "u" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
265 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
266 #if !defined PRIxLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
267 # undef PRIxLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
268 # define PRIxLEAST16 "x" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
269 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
270 #if !defined PRIXLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
271 # undef PRIXLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
272 # define PRIXLEAST16 "X" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
273 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
274 #if !defined PRIdLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
275 # undef PRIdLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
276 # define PRIdLEAST32 "d" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
277 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
278 #if !defined PRIiLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
279 # undef PRIiLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
280 # define PRIiLEAST32 "i" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
281 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
282 #if !defined PRIoLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
283 # undef PRIoLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
284 # define PRIoLEAST32 "o" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
285 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
286 #if !defined PRIuLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
287 # undef PRIuLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
288 # define PRIuLEAST32 "u" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
289 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
290 #if !defined PRIxLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
291 # undef PRIxLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
292 # define PRIxLEAST32 "x" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
293 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
294 #if !defined PRIXLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
295 # undef PRIXLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
296 # define PRIXLEAST32 "X" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
297 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
298 #ifdef INT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
299 # if !defined PRIdLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
300 # undef PRIdLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
301 # define PRIdLEAST64 PRId64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
302 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
303 # if !defined PRIiLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
304 # undef PRIiLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
305 # define PRIiLEAST64 PRIi64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
306 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
307 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
308 #ifdef UINT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
309 # if !defined PRIoLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
310 # undef PRIoLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
311 # define PRIoLEAST64 PRIo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
312 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
313 # if !defined PRIuLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
314 # undef PRIuLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
315 # define PRIuLEAST64 PRIu64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
316 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
317 # if !defined PRIxLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
318 # undef PRIxLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
319 # define PRIxLEAST64 PRIx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
320 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
321 # if !defined PRIXLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
322 # undef PRIXLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
323 # define PRIXLEAST64 PRIX64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
324 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
325 #endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
326 |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
327 #if !defined PRIdFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
328 # undef PRIdFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
329 # if INT_FAST8_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
330 # define PRIdFAST8 PRId64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
331 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
332 # define PRIdFAST8 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
333 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
334 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
335 #if !defined PRIiFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
336 # undef PRIiFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
337 # if INT_FAST8_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
338 # define PRIiFAST8 PRIi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
339 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
340 # define PRIiFAST8 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
341 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
342 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
343 #if !defined PRIoFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
344 # undef PRIoFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
345 # if UINT_FAST8_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
346 # define PRIoFAST8 PRIo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
347 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
348 # define PRIoFAST8 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
349 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
350 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
351 #if !defined PRIuFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
352 # undef PRIuFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
353 # if UINT_FAST8_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
354 # define PRIuFAST8 PRIu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
355 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
356 # define PRIuFAST8 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
357 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
358 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
359 #if !defined PRIxFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
360 # undef PRIxFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
361 # if UINT_FAST8_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
362 # define PRIxFAST8 PRIx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
363 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
364 # define PRIxFAST8 "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
365 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
366 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
367 #if !defined PRIXFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
368 # undef PRIXFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
369 # if UINT_FAST8_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
370 # define PRIXFAST8 PRIX64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
371 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
372 # define PRIXFAST8 "X" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
373 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
374 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
375 #if !defined PRIdFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
376 # undef PRIdFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
377 # if INT_FAST16_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
378 # define PRIdFAST16 PRId64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
379 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
380 # define PRIdFAST16 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
381 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
382 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
383 #if !defined PRIiFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
384 # undef PRIiFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
385 # if INT_FAST16_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
386 # define PRIiFAST16 PRIi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
387 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
388 # define PRIiFAST16 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
389 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
390 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
391 #if !defined PRIoFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
392 # undef PRIoFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
393 # if UINT_FAST16_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
394 # define PRIoFAST16 PRIo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
395 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
396 # define PRIoFAST16 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
397 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
398 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
399 #if !defined PRIuFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
400 # undef PRIuFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
401 # if UINT_FAST16_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
402 # define PRIuFAST16 PRIu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
403 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
404 # define PRIuFAST16 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
405 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
406 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
407 #if !defined PRIxFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
408 # undef PRIxFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
409 # if UINT_FAST16_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
410 # define PRIxFAST16 PRIx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
411 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
412 # define PRIxFAST16 "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
413 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
414 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
415 #if !defined PRIXFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
416 # undef PRIXFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
417 # if UINT_FAST16_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
418 # define PRIXFAST16 PRIX64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
419 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
420 # define PRIXFAST16 "X" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
421 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
422 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
423 #if !defined PRIdFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
424 # undef PRIdFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
425 # if INT_FAST32_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
426 # define PRIdFAST32 PRId64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
427 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
428 # define PRIdFAST32 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
429 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
430 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
431 #if !defined PRIiFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
432 # undef PRIiFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
433 # if INT_FAST32_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
434 # define PRIiFAST32 PRIi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
435 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
436 # define PRIiFAST32 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
437 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
438 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
439 #if !defined PRIoFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
440 # undef PRIoFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
441 # if UINT_FAST32_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
442 # define PRIoFAST32 PRIo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
443 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
444 # define PRIoFAST32 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
445 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
446 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
447 #if !defined PRIuFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
448 # undef PRIuFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
449 # if UINT_FAST32_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
450 # define PRIuFAST32 PRIu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
451 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
452 # define PRIuFAST32 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
453 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
454 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
455 #if !defined PRIxFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
456 # undef PRIxFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
457 # if UINT_FAST32_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
458 # define PRIxFAST32 PRIx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
459 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
460 # define PRIxFAST32 "x" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
461 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
462 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
463 #if !defined PRIXFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
464 # undef PRIXFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
465 # if UINT_FAST32_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
466 # define PRIXFAST32 PRIX64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
467 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
468 # define PRIXFAST32 "X" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
469 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
470 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
471 #ifdef INT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
472 # if !defined PRIdFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
473 # undef PRIdFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
474 # define PRIdFAST64 PRId64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
475 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
476 # if !defined PRIiFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
477 # undef PRIiFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
478 # define PRIiFAST64 PRIi64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
479 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
480 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
481 #ifdef UINT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
482 # if !defined PRIoFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
483 # undef PRIoFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
484 # define PRIoFAST64 PRIo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
485 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
486 # if !defined PRIuFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
487 # undef PRIuFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
488 # define PRIuFAST64 PRIu64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
489 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
490 # if !defined PRIxFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
491 # undef PRIxFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
492 # define PRIxFAST64 PRIx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
493 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
494 # if !defined PRIXFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
495 # undef PRIXFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
496 # define PRIXFAST64 PRIX64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
497 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
498 #endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
499 |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
500 #if !defined PRIdMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
501 # undef PRIdMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
502 # if @INT32_MAX_LT_INTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
503 # define PRIdMAX PRId64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
504 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
505 # define PRIdMAX "ld" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
506 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
507 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
508 #if !defined PRIiMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
509 # undef PRIiMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
510 # if @INT32_MAX_LT_INTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
511 # define PRIiMAX PRIi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
512 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
513 # define PRIiMAX "li" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
514 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
515 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
516 #if !defined PRIoMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
517 # undef PRIoMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
518 # if @UINT32_MAX_LT_UINTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
519 # define PRIoMAX PRIo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
520 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
521 # define PRIoMAX "lo" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
522 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
523 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
524 #if !defined PRIuMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
525 # undef PRIuMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
526 # if @UINT32_MAX_LT_UINTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
527 # define PRIuMAX PRIu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
528 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
529 # define PRIuMAX "lu" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
530 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
531 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
532 #if !defined PRIxMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
533 # undef PRIxMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
534 # if @UINT32_MAX_LT_UINTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
535 # define PRIxMAX PRIx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
536 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
537 # define PRIxMAX "lx" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
538 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
539 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
540 #if !defined PRIXMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
541 # undef PRIXMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
542 # if @UINT32_MAX_LT_UINTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
543 # define PRIXMAX PRIX64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
544 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
545 # define PRIXMAX "lX" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
546 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
547 #endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
548 |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
549 #if !defined PRIdPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
550 # undef PRIdPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
551 # ifdef INTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
552 # define PRIdPTR @PRIPTR_PREFIX@ "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
553 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
554 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
555 #if !defined PRIiPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
556 # undef PRIiPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
557 # ifdef INTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
558 # define PRIiPTR @PRIPTR_PREFIX@ "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
559 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
560 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
561 #if !defined PRIoPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
562 # undef PRIoPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
563 # ifdef UINTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
564 # define PRIoPTR @PRIPTR_PREFIX@ "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
565 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
566 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
567 #if !defined PRIuPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
568 # undef PRIuPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
569 # ifdef UINTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
570 # define PRIuPTR @PRIPTR_PREFIX@ "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
571 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
572 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
573 #if !defined PRIxPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
574 # undef PRIxPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
575 # ifdef UINTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
576 # define PRIxPTR @PRIPTR_PREFIX@ "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
577 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
578 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
579 #if !defined PRIXPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
580 # undef PRIXPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
581 # ifdef UINTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
582 # define PRIXPTR @PRIPTR_PREFIX@ "X" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
583 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
584 #endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
585 |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
586 #if !defined SCNd8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
587 # undef SCNd8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
588 # ifdef INT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
589 # define SCNd8 "hhd" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
590 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
591 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
592 #if !defined SCNi8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
593 # undef SCNi8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
594 # ifdef INT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
595 # define SCNi8 "hhi" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
596 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
597 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
598 #if !defined SCNo8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
599 # undef SCNo8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
600 # ifdef UINT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
601 # define SCNo8 "hho" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
602 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
603 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
604 #if !defined SCNu8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
605 # undef SCNu8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
606 # ifdef UINT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
607 # define SCNu8 "hhu" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
608 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
609 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
610 #if !defined SCNx8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
611 # undef SCNx8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
612 # ifdef UINT8_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
613 # define SCNx8 "hhx" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
614 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
615 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
616 #if !defined SCNd16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
617 # undef SCNd16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
618 # ifdef INT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
619 # define SCNd16 "hd" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
620 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
621 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
622 #if !defined SCNi16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
623 # undef SCNi16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
624 # ifdef INT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
625 # define SCNi16 "hi" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
626 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
627 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
628 #if !defined SCNo16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
629 # undef SCNo16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
630 # ifdef UINT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
631 # define SCNo16 "ho" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
632 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
633 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
634 #if !defined SCNu16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
635 # undef SCNu16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
636 # ifdef UINT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
637 # define SCNu16 "hu" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
638 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
639 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
640 #if !defined SCNx16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
641 # undef SCNx16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
642 # ifdef UINT16_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
643 # define SCNx16 "hx" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
644 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
645 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
646 #if !defined SCNd32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
647 # undef SCNd32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
648 # ifdef INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
649 # define SCNd32 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
650 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
651 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
652 #if !defined SCNi32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
653 # undef SCNi32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
654 # ifdef INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
655 # define SCNi32 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
656 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
657 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
658 #if !defined SCNo32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
659 # undef SCNo32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
660 # ifdef UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
661 # define SCNo32 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
662 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
663 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
664 #if !defined SCNu32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
665 # undef SCNu32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
666 # ifdef UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
667 # define SCNu32 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
668 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
669 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
670 #if !defined SCNx32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
671 # undef SCNx32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
672 # ifdef UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
673 # define SCNx32 "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
674 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
675 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
676 #ifdef INT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
677 # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
678 # define _SCN64_PREFIX "l" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
679 # elif defined _MSC_VER || defined __MINGW32__ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
680 # define _SCN64_PREFIX "I64" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
681 # elif @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
682 # define _SCN64_PREFIX _LONG_LONG_FORMAT_PREFIX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
683 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
684 # if !defined SCNd64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
685 # undef SCNd64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
686 # define SCNd64 _SCN64_PREFIX "d" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
687 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
688 # if !defined SCNi64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
689 # undef SCNi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
690 # define SCNi64 _SCN64_PREFIX "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
691 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
692 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
693 #ifdef UINT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
694 # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
695 # define _SCNu64_PREFIX "l" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
696 # elif defined _MSC_VER || defined __MINGW32__ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
697 # define _SCNu64_PREFIX "I64" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
698 # elif @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
699 # define _SCNu64_PREFIX _LONG_LONG_FORMAT_PREFIX |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
700 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
701 # if !defined SCNo64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
702 # undef SCNo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
703 # define SCNo64 _SCNu64_PREFIX "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
704 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
705 # if !defined SCNu64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
706 # undef SCNu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
707 # define SCNu64 _SCNu64_PREFIX "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
708 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
709 # if !defined SCNx64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
710 # undef SCNx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
711 # define SCNx64 _SCNu64_PREFIX "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
712 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
713 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
714 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
715 #if !defined SCNdLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
716 # undef SCNdLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
717 # define SCNdLEAST8 "hhd" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
718 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
719 #if !defined SCNiLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
720 # undef SCNiLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
721 # define SCNiLEAST8 "hhi" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
722 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
723 #if !defined SCNoLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
724 # undef SCNoLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
725 # define SCNoLEAST8 "hho" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
726 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
727 #if !defined SCNuLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
728 # undef SCNuLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
729 # define SCNuLEAST8 "hhu" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
730 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
731 #if !defined SCNxLEAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
732 # undef SCNxLEAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
733 # define SCNxLEAST8 "hhx" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
734 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
735 #if !defined SCNdLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
736 # undef SCNdLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
737 # define SCNdLEAST16 "hd" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
738 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
739 #if !defined SCNiLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
740 # undef SCNiLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
741 # define SCNiLEAST16 "hi" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
742 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
743 #if !defined SCNoLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
744 # undef SCNoLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
745 # define SCNoLEAST16 "ho" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
746 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
747 #if !defined SCNuLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
748 # undef SCNuLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
749 # define SCNuLEAST16 "hu" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
750 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
751 #if !defined SCNxLEAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
752 # undef SCNxLEAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
753 # define SCNxLEAST16 "hx" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
754 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
755 #if !defined SCNdLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
756 # undef SCNdLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
757 # define SCNdLEAST32 "d" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
758 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
759 #if !defined SCNiLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
760 # undef SCNiLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
761 # define SCNiLEAST32 "i" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
762 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
763 #if !defined SCNoLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
764 # undef SCNoLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
765 # define SCNoLEAST32 "o" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
766 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
767 #if !defined SCNuLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
768 # undef SCNuLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
769 # define SCNuLEAST32 "u" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
770 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
771 #if !defined SCNxLEAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
772 # undef SCNxLEAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
773 # define SCNxLEAST32 "x" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
774 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
775 #ifdef INT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
776 # if !defined SCNdLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
777 # undef SCNdLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
778 # define SCNdLEAST64 SCNd64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
779 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
780 # if !defined SCNiLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
781 # undef SCNiLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
782 # define SCNiLEAST64 SCNi64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
783 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
784 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
785 #ifdef UINT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
786 # if !defined SCNoLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
787 # undef SCNoLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
788 # define SCNoLEAST64 SCNo64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
789 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
790 # if !defined SCNuLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
791 # undef SCNuLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
792 # define SCNuLEAST64 SCNu64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
793 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
794 # if !defined SCNxLEAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
795 # undef SCNxLEAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
796 # define SCNxLEAST64 SCNx64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
797 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
798 #endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
799 |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
800 #if !defined SCNdFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
801 # undef SCNdFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
802 # if INT_FAST8_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
803 # define SCNdFAST8 SCNd64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
804 # elif INT_FAST8_MAX == 0x7fff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
805 # define SCNdFAST8 "hd" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
806 # elif INT_FAST8_MAX == 0x7f |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
807 # define SCNdFAST8 "hhd" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
808 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
809 # define SCNdFAST8 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
810 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
811 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
812 #if !defined SCNiFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
813 # undef SCNiFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
814 # if INT_FAST8_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
815 # define SCNiFAST8 SCNi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
816 # elif INT_FAST8_MAX == 0x7fff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
817 # define SCNiFAST8 "hi" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
818 # elif INT_FAST8_MAX == 0x7f |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
819 # define SCNiFAST8 "hhi" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
820 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
821 # define SCNiFAST8 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
822 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
823 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
824 #if !defined SCNoFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
825 # undef SCNoFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
826 # if UINT_FAST8_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
827 # define SCNoFAST8 SCNo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
828 # elif UINT_FAST8_MAX == 0xffff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
829 # define SCNoFAST8 "ho" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
830 # elif UINT_FAST8_MAX == 0xff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
831 # define SCNoFAST8 "hho" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
832 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
833 # define SCNoFAST8 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
834 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
835 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
836 #if !defined SCNuFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
837 # undef SCNuFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
838 # if UINT_FAST8_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
839 # define SCNuFAST8 SCNu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
840 # elif UINT_FAST8_MAX == 0xffff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
841 # define SCNuFAST8 "hu" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
842 # elif UINT_FAST8_MAX == 0xff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
843 # define SCNuFAST8 "hhu" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
844 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
845 # define SCNuFAST8 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
846 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
847 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
848 #if !defined SCNxFAST8 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
849 # undef SCNxFAST8 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
850 # if UINT_FAST8_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
851 # define SCNxFAST8 SCNx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
852 # elif UINT_FAST8_MAX == 0xffff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
853 # define SCNxFAST8 "hx" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
854 # elif UINT_FAST8_MAX == 0xff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
855 # define SCNxFAST8 "hhx" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
856 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
857 # define SCNxFAST8 "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
858 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
859 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
860 #if !defined SCNdFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
861 # undef SCNdFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
862 # if INT_FAST16_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
863 # define SCNdFAST16 SCNd64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
864 # elif INT_FAST16_MAX == 0x7fff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
865 # define SCNdFAST16 "hd" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
866 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
867 # define SCNdFAST16 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
868 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
869 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
870 #if !defined SCNiFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
871 # undef SCNiFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
872 # if INT_FAST16_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
873 # define SCNiFAST16 SCNi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
874 # elif INT_FAST16_MAX == 0x7fff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
875 # define SCNiFAST16 "hi" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
876 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
877 # define SCNiFAST16 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
878 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
879 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
880 #if !defined SCNoFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
881 # undef SCNoFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
882 # if UINT_FAST16_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
883 # define SCNoFAST16 SCNo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
884 # elif UINT_FAST16_MAX == 0xffff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
885 # define SCNoFAST16 "ho" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
886 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
887 # define SCNoFAST16 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
888 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
889 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
890 #if !defined SCNuFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
891 # undef SCNuFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
892 # if UINT_FAST16_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
893 # define SCNuFAST16 SCNu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
894 # elif UINT_FAST16_MAX == 0xffff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
895 # define SCNuFAST16 "hu" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
896 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
897 # define SCNuFAST16 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
898 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
899 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
900 #if !defined SCNxFAST16 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
901 # undef SCNxFAST16 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
902 # if UINT_FAST16_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
903 # define SCNxFAST16 SCNx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
904 # elif UINT_FAST16_MAX == 0xffff |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
905 # define SCNxFAST16 "hx" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
906 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
907 # define SCNxFAST16 "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
908 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
909 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
910 #if !defined SCNdFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
911 # undef SCNdFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
912 # if INT_FAST32_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
913 # define SCNdFAST32 SCNd64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
914 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
915 # define SCNdFAST32 "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
916 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
917 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
918 #if !defined SCNiFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
919 # undef SCNiFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
920 # if INT_FAST32_MAX > INT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
921 # define SCNiFAST32 SCNi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
922 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
923 # define SCNiFAST32 "i" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
924 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
925 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
926 #if !defined SCNoFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
927 # undef SCNoFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
928 # if UINT_FAST32_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
929 # define SCNoFAST32 SCNo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
930 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
931 # define SCNoFAST32 "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
932 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
933 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
934 #if !defined SCNuFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
935 # undef SCNuFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
936 # if UINT_FAST32_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
937 # define SCNuFAST32 SCNu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
938 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
939 # define SCNuFAST32 "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
940 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
941 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
942 #if !defined SCNxFAST32 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
943 # undef SCNxFAST32 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
944 # if UINT_FAST32_MAX > UINT32_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
945 # define SCNxFAST32 SCNx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
946 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
947 # define SCNxFAST32 "x" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
948 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
949 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
950 #ifdef INT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
951 # if !defined SCNdFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
952 # undef SCNdFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
953 # define SCNdFAST64 SCNd64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
954 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
955 # if !defined SCNiFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
956 # undef SCNiFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
957 # define SCNiFAST64 SCNi64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
958 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
959 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
960 #ifdef UINT64_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
961 # if !defined SCNoFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
962 # undef SCNoFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
963 # define SCNoFAST64 SCNo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
964 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
965 # if !defined SCNuFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
966 # undef SCNuFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
967 # define SCNuFAST64 SCNu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
968 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
969 # if !defined SCNxFAST64 || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
970 # undef SCNxFAST64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
971 # define SCNxFAST64 SCNx64 |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
972 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
973 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
974 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
975 #if !defined SCNdMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
976 # undef SCNdMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
977 # if @INT32_MAX_LT_INTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
978 # define SCNdMAX SCNd64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
979 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
980 # define SCNdMAX "ld" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
981 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
982 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
983 #if !defined SCNiMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
984 # undef SCNiMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
985 # if @INT32_MAX_LT_INTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
986 # define SCNiMAX SCNi64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
987 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
988 # define SCNiMAX "li" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
989 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
990 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
991 #if !defined SCNoMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
992 # undef SCNoMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
993 # if @UINT32_MAX_LT_UINTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
994 # define SCNoMAX SCNo64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
995 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
996 # define SCNoMAX "lo" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
997 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
998 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
999 #if !defined SCNuMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1000 # undef SCNuMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1001 # if @UINT32_MAX_LT_UINTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1002 # define SCNuMAX SCNu64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1003 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1004 # define SCNuMAX "lu" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1005 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1006 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1007 #if !defined SCNxMAX || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1008 # undef SCNxMAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1009 # if @UINT32_MAX_LT_UINTMAX_MAX@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1010 # define SCNxMAX SCNx64 |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1011 # else |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1012 # define SCNxMAX "lx" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1013 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1014 #endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1015 |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1016 #if !defined SCNdPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1017 # undef SCNdPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1018 # ifdef INTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1019 # define SCNdPTR @PRIPTR_PREFIX@ "d" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1020 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1021 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1022 #if !defined SCNiPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1023 # undef SCNiPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1024 # ifdef INTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1025 # define SCNiPTR @PRIPTR_PREFIX@ "i" |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1026 # endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1027 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1028 #if !defined SCNoPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1029 # undef SCNoPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1030 # ifdef UINTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1031 # define SCNoPTR @PRIPTR_PREFIX@ "o" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1032 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1033 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1034 #if !defined SCNuPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1035 # undef SCNuPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1036 # ifdef UINTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1037 # define SCNuPTR @PRIPTR_PREFIX@ "u" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1038 # endif |
16163
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1039 #endif |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1040 #if !defined SCNxPTR || @PRI_MACROS_BROKEN@ |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1041 # undef SCNxPTR |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1042 # ifdef UINTPTR_MAX |
8151b33f4264
inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents:
14619
diff
changeset
|
1043 # define SCNxPTR @PRIPTR_PREFIX@ "x" |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1044 # endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1045 #endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1046 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1047 /* 7.8.2 Functions for greatest-width integer types */ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1048 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1049 #ifdef __cplusplus |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1050 extern "C" { |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1051 #endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1052 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1053 #if @GNULIB_IMAXABS@ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1054 # if !@HAVE_DECL_IMAXABS@ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1055 extern intmax_t imaxabs (intmax_t); |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1056 # endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1057 #elif defined GNULIB_POSIXCHECK |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1058 # undef imaxabs |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1059 # if HAVE_RAW_DECL_IMAXABS |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1060 _GL_WARN_ON_USE (imaxabs, "imaxabs is unportable - " |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1061 "use gnulib module imaxabs for portability"); |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1062 # endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1063 #endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1064 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1065 #if @GNULIB_IMAXDIV@ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1066 # if !@HAVE_DECL_IMAXDIV@ |
14274
da5595160b9f
Allow multiple gnulib generated replacements to coexist.
Bruno Haible <bruno@clisp.org>
parents:
14079
diff
changeset
|
1067 # if !GNULIB_defined_imaxdiv_t |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1068 typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; |
14274
da5595160b9f
Allow multiple gnulib generated replacements to coexist.
Bruno Haible <bruno@clisp.org>
parents:
14079
diff
changeset
|
1069 # define GNULIB_defined_imaxdiv_t 1 |
da5595160b9f
Allow multiple gnulib generated replacements to coexist.
Bruno Haible <bruno@clisp.org>
parents:
14079
diff
changeset
|
1070 # endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1071 extern imaxdiv_t imaxdiv (intmax_t, intmax_t); |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1072 # endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1073 #elif defined GNULIB_POSIXCHECK |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1074 # undef imaxdiv |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1075 # if HAVE_RAW_DECL_IMAXDIV |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1076 _GL_WARN_ON_USE (imaxdiv, "imaxdiv is unportable - " |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1077 "use gnulib module imaxdiv for portability"); |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1078 # endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1079 #endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1080 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1081 #if @GNULIB_STRTOIMAX@ |
16230
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1082 # if @REPLACE_STRTOIMAX@ |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1083 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1084 # undef strtoimax |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1085 # define strtoimax rpl_strtoimax |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1086 # endif |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1087 _GL_FUNCDECL_RPL (strtoimax, intmax_t, |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1088 (const char *, char **, int) _GL_ARG_NONNULL ((1))); |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1089 _GL_CXXALIAS_RPL (strtoimax, intmax_t, (const char *, char **, int)); |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1090 # else |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1091 # if !@HAVE_DECL_STRTOIMAX@ |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1092 # undef strtoimax |
16229 | 1093 _GL_FUNCDECL_SYS (strtoimax, intmax_t, |
1094 (const char *, char **, int) _GL_ARG_NONNULL ((1))); | |
16230
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1095 # endif |
f9e137049132
strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents:
16229
diff
changeset
|
1096 _GL_CXXALIAS_SYS (strtoimax, intmax_t, (const char *, char **, int)); |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1097 # endif |
16229 | 1098 _GL_CXXALIASWARN (strtoimax); |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1099 #elif defined GNULIB_POSIXCHECK |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1100 # undef strtoimax |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1101 # if HAVE_RAW_DECL_STRTOIMAX |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1102 _GL_WARN_ON_USE (strtoimax, "strtoimax is unportable - " |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1103 "use gnulib module strtoimax for portability"); |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1104 # endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1105 #endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1106 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1107 #if @GNULIB_STRTOUMAX@ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1108 # if !@HAVE_DECL_STRTOUMAX@ |
14619
3b0090bf54b5
strtoimax, strtoumax: simplify, port to HP-UX 11.00 64-bit
Paul Eggert <eggert@cs.ucla.edu>
parents:
14274
diff
changeset
|
1109 # undef strtoumax |
16229 | 1110 _GL_FUNCDECL_SYS (strtoumax, uintmax_t, |
1111 (const char *, char **, int) _GL_ARG_NONNULL ((1))); | |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1112 # endif |
16229 | 1113 _GL_CXXALIAS_SYS (strtoumax, uintmax_t, (const char *, char **, int)); |
1114 _GL_CXXALIASWARN (strtoumax); | |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1115 #elif defined GNULIB_POSIXCHECK |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1116 # undef strtoumax |
12766
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1117 # if HAVE_RAW_DECL_STRTOUMAX |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1118 _GL_WARN_ON_USE (strtoumax, "strtoumax is unportable - " |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1119 "use gnulib module strtoumax for portability"); |
2c14f1e449e5
warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents:
12559
diff
changeset
|
1120 # endif |
9253
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1121 #endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1122 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1123 /* Don't bother defining or declaring wcstoimax and wcstoumax, since |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1124 wide-character functions like this are hardly ever useful. */ |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1125 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1126 #ifdef __cplusplus |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1127 } |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1128 #endif |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1129 |
b1742229630b
Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1130 #endif /* !defined INTTYPES_H && !defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H */ |