annotate lib/inttypes.in.h @ 40231:9b3c79fdfe0b

strtod: fix clash with strtold Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817). * lib/strtod.c (compute_minus_zero, minus_zero): Simplify by remving the macro / external variable, and having just a function. User changed. This avoids the need for an external variable that might clash.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 11 Mar 2019 16:40:29 -0700
parents b06060465f09
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
40057
b06060465f09 maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents: 19663
diff changeset
1 /* Copyright (C) 2006-2019 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
19190
9759915b2aca all: prefer https: URLs
Paul Eggert <eggert@cs.ucla.edu>
parents: 18626
diff changeset
16 along with this program. If not, see <https://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>
17985
d8a42e2f0845 inttypes: force correct mingw PRIdMAX even without <stdio.h>
Eric Blake <eblake@redhat.com>
parents: 17848
diff changeset
54 /* On mingw, __USE_MINGW_ANSI_STDIO only works if <stdio.h> is also included */
19595
beb2ad957aca Simplify code. Drop support for Borland C++ on Windows.
Bruno Haible <bruno@clisp.org>
parents: 19484
diff changeset
55 #if defined _WIN32 && ! defined __CYGWIN__
17985
d8a42e2f0845 inttypes: force correct mingw PRIdMAX even without <stdio.h>
Eric Blake <eblake@redhat.com>
parents: 17848
diff changeset
56 # include <stdio.h>
d8a42e2f0845 inttypes: force correct mingw PRIdMAX even without <stdio.h>
Eric Blake <eblake@redhat.com>
parents: 17848
diff changeset
57 #endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
58
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
59 #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
60 # 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
61 #endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
62
16229
daac1ca4c436 inttypes: Modernize.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
63 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
daac1ca4c436 inttypes: Modernize.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
64
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
65 /* 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
66
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
67 /* 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
68
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
69 /* 7.8.1 Macros for format specifiers */
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
70
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
71 #if defined _TNS_R_TARGET
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
72 /* 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
73 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
74 # define _LONG_LONG_FORMAT_PREFIX "L"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
75 #else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
76 # define _LONG_LONG_FORMAT_PREFIX "ll"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
77 #endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
78
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
79 #if !defined PRId8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
80 # undef PRId8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
81 # ifdef INT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
82 # define PRId8 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
83 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
84 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
85 #if !defined PRIi8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
86 # undef PRIi8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
87 # ifdef INT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
88 # define PRIi8 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
89 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
90 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
91 #if !defined PRIo8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
92 # undef PRIo8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
93 # ifdef UINT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
94 # define PRIo8 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
95 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
96 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
97 #if !defined PRIu8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
98 # undef PRIu8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
99 # ifdef UINT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
100 # define PRIu8 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
101 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
102 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
103 #if !defined PRIx8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
104 # undef PRIx8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
105 # ifdef UINT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
106 # define PRIx8 "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
107 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
108 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
109 #if !defined PRIX8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
110 # undef PRIX8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
111 # ifdef UINT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
112 # define PRIX8 "X"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
113 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
114 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
115 #if !defined PRId16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
116 # undef PRId16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
117 # ifdef INT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
118 # define PRId16 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
119 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
120 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
121 #if !defined PRIi16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
122 # undef PRIi16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
123 # ifdef INT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
124 # define PRIi16 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
125 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
126 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
127 #if !defined PRIo16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
128 # undef PRIo16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
129 # ifdef UINT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
130 # define PRIo16 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
131 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
132 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
133 #if !defined PRIu16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
134 # undef PRIu16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
135 # ifdef UINT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
136 # define PRIu16 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
137 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
138 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
139 #if !defined PRIx16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
140 # undef PRIx16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
141 # ifdef UINT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
142 # define PRIx16 "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
143 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
144 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
145 #if !defined PRIX16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
146 # undef PRIX16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
147 # ifdef UINT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
148 # define PRIX16 "X"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
149 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
150 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
151 #if !defined PRId32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
152 # undef PRId32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
153 # ifdef INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
154 # define PRId32 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
155 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
156 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
157 #if !defined PRIi32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
158 # undef PRIi32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
159 # ifdef INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
160 # define PRIi32 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
161 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
162 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
163 #if !defined PRIo32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
164 # undef PRIo32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
165 # ifdef UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
166 # define PRIo32 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
167 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
168 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
169 #if !defined PRIu32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
170 # undef PRIu32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
171 # ifdef UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
172 # define PRIu32 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
173 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
174 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
175 #if !defined PRIx32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
176 # undef PRIx32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
177 # ifdef UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
178 # define PRIx32 "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
179 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
180 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
181 #if !defined PRIX32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
182 # undef PRIX32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
183 # ifdef UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
184 # define PRIX32 "X"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
185 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
186 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
187 #ifdef INT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
188 # 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
189 # define _PRI64_PREFIX "l"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
190 # elif defined _MSC_VER || defined __MINGW32__
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
191 # define _PRI64_PREFIX "I64"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
192 # 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
193 # define _PRI64_PREFIX _LONG_LONG_FORMAT_PREFIX
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 PRId64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
196 # undef PRId64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
197 # define PRId64 _PRI64_PREFIX "d"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
198 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
199 # if !defined PRIi64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
200 # undef PRIi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
201 # define PRIi64 _PRI64_PREFIX "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
202 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
203 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
204 #ifdef UINT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
205 # 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
206 # define _PRIu64_PREFIX "l"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
207 # elif defined _MSC_VER || defined __MINGW32__
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
208 # define _PRIu64_PREFIX "I64"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
209 # 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
210 # define _PRIu64_PREFIX _LONG_LONG_FORMAT_PREFIX
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
211 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
212 # if !defined PRIo64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
213 # undef PRIo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
214 # define PRIo64 _PRIu64_PREFIX "o"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
215 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
216 # if !defined PRIu64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
217 # undef PRIu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
218 # define PRIu64 _PRIu64_PREFIX "u"
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 # if !defined PRIX64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
225 # undef PRIX64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
226 # define PRIX64 _PRIu64_PREFIX "X"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
227 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
228 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
229
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
230 #if !defined PRIdLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
231 # undef PRIdLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
232 # define PRIdLEAST8 "d"
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 PRIiLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
235 # undef PRIiLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
236 # define PRIiLEAST8 "i"
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 PRIoLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
239 # undef PRIoLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
240 # define PRIoLEAST8 "o"
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 PRIuLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
243 # undef PRIuLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
244 # define PRIuLEAST8 "u"
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 PRIXLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
251 # undef PRIXLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
252 # define PRIXLEAST8 "X"
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 PRIdLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
255 # undef PRIdLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
256 # define PRIdLEAST16 "d"
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 PRIiLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
259 # undef PRIiLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
260 # define PRIiLEAST16 "i"
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 PRIoLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
263 # undef PRIoLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
264 # define PRIoLEAST16 "o"
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 PRIuLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
267 # undef PRIuLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
268 # define PRIuLEAST16 "u"
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 PRIXLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
275 # undef PRIXLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
276 # define PRIXLEAST16 "X"
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 PRIdLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
279 # undef PRIdLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
280 # define PRIdLEAST32 "d"
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 PRIiLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
283 # undef PRIiLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
284 # define PRIiLEAST32 "i"
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 PRIoLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
287 # undef PRIoLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
288 # define PRIoLEAST32 "o"
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 PRIuLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
291 # undef PRIuLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
292 # define PRIuLEAST32 "u"
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 #if !defined PRIXLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
299 # undef PRIXLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
300 # define PRIXLEAST32 "X"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
301 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
302 #ifdef INT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
303 # if !defined PRIdLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
304 # undef PRIdLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
305 # define PRIdLEAST64 PRId64
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 # if !defined PRIiLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
308 # undef PRIiLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
309 # define PRIiLEAST64 PRIi64
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
310 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
311 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
312 #ifdef UINT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
313 # if !defined PRIoLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
314 # undef PRIoLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
315 # define PRIoLEAST64 PRIo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
316 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
317 # if !defined PRIuLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
318 # undef PRIuLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
319 # define PRIuLEAST64 PRIu64
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
320 # endif
16163
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 # if !defined PRIXLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
326 # undef PRIXLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
327 # define PRIXLEAST64 PRIX64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
328 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
329 #endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
330
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
331 #if !defined PRIdFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
332 # undef PRIdFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
333 # if INT_FAST8_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
334 # define PRIdFAST8 PRId64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
335 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
336 # define PRIdFAST8 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
337 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
338 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
339 #if !defined PRIiFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
340 # undef PRIiFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
341 # if INT_FAST8_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
342 # define PRIiFAST8 PRIi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
343 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
344 # define PRIiFAST8 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
345 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
346 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
347 #if !defined PRIoFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
348 # undef PRIoFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
349 # if UINT_FAST8_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
350 # define PRIoFAST8 PRIo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
351 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
352 # define PRIoFAST8 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
353 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
354 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
355 #if !defined PRIuFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
356 # undef PRIuFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
357 # if UINT_FAST8_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
358 # define PRIuFAST8 PRIu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
359 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
360 # define PRIuFAST8 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
361 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
362 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
363 #if !defined PRIxFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
364 # undef PRIxFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
365 # if UINT_FAST8_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
366 # define PRIxFAST8 PRIx64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
367 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
368 # define PRIxFAST8 "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
369 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
370 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
371 #if !defined PRIXFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
372 # undef PRIXFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
373 # if UINT_FAST8_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
374 # define PRIXFAST8 PRIX64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
375 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
376 # define PRIXFAST8 "X"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
377 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
378 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
379 #if !defined PRIdFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
380 # undef PRIdFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
381 # if INT_FAST16_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
382 # define PRIdFAST16 PRId64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
383 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
384 # define PRIdFAST16 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
385 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
386 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
387 #if !defined PRIiFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
388 # undef PRIiFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
389 # if INT_FAST16_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
390 # define PRIiFAST16 PRIi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
391 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
392 # define PRIiFAST16 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
393 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
394 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
395 #if !defined PRIoFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
396 # undef PRIoFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
397 # if UINT_FAST16_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
398 # define PRIoFAST16 PRIo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
399 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
400 # define PRIoFAST16 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
401 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
402 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
403 #if !defined PRIuFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
404 # undef PRIuFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
405 # if UINT_FAST16_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
406 # define PRIuFAST16 PRIu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
407 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
408 # define PRIuFAST16 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
409 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
410 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
411 #if !defined PRIxFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
412 # undef PRIxFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
413 # if UINT_FAST16_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
414 # define PRIxFAST16 PRIx64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
415 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
416 # define PRIxFAST16 "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
417 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
418 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
419 #if !defined PRIXFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
420 # undef PRIXFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
421 # if UINT_FAST16_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
422 # define PRIXFAST16 PRIX64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
423 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
424 # define PRIXFAST16 "X"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
425 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
426 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
427 #if !defined PRIdFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
428 # undef PRIdFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
429 # if INT_FAST32_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
430 # define PRIdFAST32 PRId64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
431 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
432 # define PRIdFAST32 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
433 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
434 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
435 #if !defined PRIiFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
436 # undef PRIiFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
437 # if INT_FAST32_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
438 # define PRIiFAST32 PRIi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
439 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
440 # define PRIiFAST32 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
441 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
442 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
443 #if !defined PRIoFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
444 # undef PRIoFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
445 # if UINT_FAST32_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
446 # define PRIoFAST32 PRIo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
447 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
448 # define PRIoFAST32 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
449 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
450 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
451 #if !defined PRIuFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
452 # undef PRIuFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
453 # if UINT_FAST32_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
454 # define PRIuFAST32 PRIu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
455 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
456 # define PRIuFAST32 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
457 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
458 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
459 #if !defined PRIxFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
460 # undef PRIxFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
461 # if UINT_FAST32_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
462 # define PRIxFAST32 PRIx64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
463 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
464 # define PRIxFAST32 "x"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
465 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
466 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
467 #if !defined PRIXFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
468 # undef PRIXFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
469 # if UINT_FAST32_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
470 # define PRIXFAST32 PRIX64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
471 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
472 # define PRIXFAST32 "X"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
473 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
474 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
475 #ifdef INT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
476 # if !defined PRIdFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
477 # undef PRIdFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
478 # define PRIdFAST64 PRId64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
479 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
480 # if !defined PRIiFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
481 # undef PRIiFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
482 # define PRIiFAST64 PRIi64
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
483 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
484 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
485 #ifdef UINT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
486 # if !defined PRIoFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
487 # undef PRIoFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
488 # define PRIoFAST64 PRIo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
489 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
490 # if !defined PRIuFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
491 # undef PRIuFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
492 # define PRIuFAST64 PRIu64
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
493 # endif
16163
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
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
497 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
498 # if !defined PRIXFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
499 # undef PRIXFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
500 # define PRIXFAST64 PRIX64
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
501 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
502 #endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
503
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
504 #if !defined PRIdMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
505 # undef PRIdMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
506 # if @INT32_MAX_LT_INTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
507 # define PRIdMAX PRId64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
508 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
509 # define PRIdMAX "ld"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
510 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
511 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
512 #if !defined PRIiMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
513 # undef PRIiMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
514 # if @INT32_MAX_LT_INTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
515 # define PRIiMAX PRIi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
516 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
517 # define PRIiMAX "li"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
518 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
519 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
520 #if !defined PRIoMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
521 # undef PRIoMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
522 # if @UINT32_MAX_LT_UINTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
523 # define PRIoMAX PRIo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
524 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
525 # define PRIoMAX "lo"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
526 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
527 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
528 #if !defined PRIuMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
529 # undef PRIuMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
530 # if @UINT32_MAX_LT_UINTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
531 # define PRIuMAX PRIu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
532 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
533 # define PRIuMAX "lu"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
534 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
535 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
536 #if !defined PRIxMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
537 # undef PRIxMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
538 # if @UINT32_MAX_LT_UINTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
539 # define PRIxMAX PRIx64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
540 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
541 # define PRIxMAX "lx"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
542 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
543 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
544 #if !defined PRIXMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
545 # undef PRIXMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
546 # if @UINT32_MAX_LT_UINTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
547 # define PRIXMAX PRIX64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
548 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
549 # define PRIXMAX "lX"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
550 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
551 #endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
552
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
553 #if !defined PRIdPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
554 # undef PRIdPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
555 # ifdef INTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
556 # define PRIdPTR @PRIPTR_PREFIX@ "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
557 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
558 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
559 #if !defined PRIiPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
560 # undef PRIiPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
561 # ifdef INTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
562 # define PRIiPTR @PRIPTR_PREFIX@ "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
563 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
564 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
565 #if !defined PRIoPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
566 # undef PRIoPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
567 # ifdef UINTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
568 # define PRIoPTR @PRIPTR_PREFIX@ "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
569 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
570 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
571 #if !defined PRIuPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
572 # undef PRIuPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
573 # ifdef UINTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
574 # define PRIuPTR @PRIPTR_PREFIX@ "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
575 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
576 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
577 #if !defined PRIxPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
578 # undef PRIxPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
579 # ifdef UINTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
580 # define PRIxPTR @PRIPTR_PREFIX@ "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
581 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
582 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
583 #if !defined PRIXPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
584 # undef PRIXPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
585 # ifdef UINTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
586 # define PRIXPTR @PRIPTR_PREFIX@ "X"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
587 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
588 #endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
589
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
590 #if !defined SCNd8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
591 # undef SCNd8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
592 # ifdef INT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
593 # define SCNd8 "hhd"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
594 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
595 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
596 #if !defined SCNi8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
597 # undef SCNi8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
598 # ifdef INT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
599 # define SCNi8 "hhi"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
600 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
601 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
602 #if !defined SCNo8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
603 # undef SCNo8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
604 # ifdef UINT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
605 # define SCNo8 "hho"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
606 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
607 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
608 #if !defined SCNu8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
609 # undef SCNu8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
610 # ifdef UINT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
611 # define SCNu8 "hhu"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
612 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
613 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
614 #if !defined SCNx8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
615 # undef SCNx8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
616 # ifdef UINT8_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
617 # define SCNx8 "hhx"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
618 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
619 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
620 #if !defined SCNd16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
621 # undef SCNd16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
622 # ifdef INT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
623 # define SCNd16 "hd"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
624 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
625 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
626 #if !defined SCNi16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
627 # undef SCNi16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
628 # ifdef INT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
629 # define SCNi16 "hi"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
630 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
631 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
632 #if !defined SCNo16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
633 # undef SCNo16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
634 # ifdef UINT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
635 # define SCNo16 "ho"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
636 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
637 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
638 #if !defined SCNu16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
639 # undef SCNu16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
640 # ifdef UINT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
641 # define SCNu16 "hu"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
642 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
643 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
644 #if !defined SCNx16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
645 # undef SCNx16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
646 # ifdef UINT16_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
647 # define SCNx16 "hx"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
648 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
649 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
650 #if !defined SCNd32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
651 # undef SCNd32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
652 # ifdef INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
653 # define SCNd32 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
654 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
655 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
656 #if !defined SCNi32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
657 # undef SCNi32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
658 # ifdef INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
659 # define SCNi32 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
660 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
661 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
662 #if !defined SCNo32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
663 # undef SCNo32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
664 # ifdef UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
665 # define SCNo32 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
666 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
667 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
668 #if !defined SCNu32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
669 # undef SCNu32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
670 # ifdef UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
671 # define SCNu32 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
672 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
673 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
674 #if !defined SCNx32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
675 # undef SCNx32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
676 # ifdef UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
677 # define SCNx32 "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
678 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
679 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
680 #ifdef INT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
681 # 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
682 # define _SCN64_PREFIX "l"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
683 # elif defined _MSC_VER || defined __MINGW32__
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
684 # define _SCN64_PREFIX "I64"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
685 # 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
686 # define _SCN64_PREFIX _LONG_LONG_FORMAT_PREFIX
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 SCNd64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
689 # undef SCNd64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
690 # define SCNd64 _SCN64_PREFIX "d"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
691 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
692 # if !defined SCNi64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
693 # undef SCNi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
694 # define SCNi64 _SCN64_PREFIX "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
695 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
696 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
697 #ifdef UINT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
698 # 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
699 # define _SCNu64_PREFIX "l"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
700 # elif defined _MSC_VER || defined __MINGW32__
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
701 # define _SCNu64_PREFIX "I64"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
702 # 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
703 # define _SCNu64_PREFIX _LONG_LONG_FORMAT_PREFIX
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 SCNo64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
706 # undef SCNo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
707 # define SCNo64 _SCNu64_PREFIX "o"
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 SCNu64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
710 # undef SCNu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
711 # define SCNu64 _SCNu64_PREFIX "u"
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 # if !defined SCNx64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
714 # undef SCNx64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
715 # define SCNx64 _SCNu64_PREFIX "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
716 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
717 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
718
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
719 #if !defined SCNdLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
720 # undef SCNdLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
721 # define SCNdLEAST8 "hhd"
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 SCNiLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
724 # undef SCNiLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
725 # define SCNiLEAST8 "hhi"
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 SCNoLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
728 # undef SCNoLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
729 # define SCNoLEAST8 "hho"
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 SCNuLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
732 # undef SCNuLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
733 # define SCNuLEAST8 "hhu"
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 SCNxLEAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
736 # undef SCNxLEAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
737 # define SCNxLEAST8 "hhx"
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 SCNdLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
740 # undef SCNdLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
741 # define SCNdLEAST16 "hd"
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 SCNiLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
744 # undef SCNiLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
745 # define SCNiLEAST16 "hi"
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 SCNoLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
748 # undef SCNoLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
749 # define SCNoLEAST16 "ho"
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 SCNuLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
752 # undef SCNuLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
753 # define SCNuLEAST16 "hu"
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 SCNxLEAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
756 # undef SCNxLEAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
757 # define SCNxLEAST16 "hx"
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 SCNdLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
760 # undef SCNdLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
761 # define SCNdLEAST32 "d"
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 SCNiLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
764 # undef SCNiLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
765 # define SCNiLEAST32 "i"
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 SCNoLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
768 # undef SCNoLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
769 # define SCNoLEAST32 "o"
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 SCNuLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
772 # undef SCNuLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
773 # define SCNuLEAST32 "u"
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 #if !defined SCNxLEAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
776 # undef SCNxLEAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
777 # define SCNxLEAST32 "x"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
778 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
779 #ifdef INT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
780 # if !defined SCNdLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
781 # undef SCNdLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
782 # define SCNdLEAST64 SCNd64
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 # if !defined SCNiLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
785 # undef SCNiLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
786 # define SCNiLEAST64 SCNi64
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
787 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
788 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
789 #ifdef UINT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
790 # if !defined SCNoLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
791 # undef SCNoLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
792 # define SCNoLEAST64 SCNo64
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 SCNuLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
795 # undef SCNuLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
796 # define SCNuLEAST64 SCNu64
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 # if !defined SCNxLEAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
799 # undef SCNxLEAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
800 # define SCNxLEAST64 SCNx64
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
801 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
802 #endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
803
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
804 #if !defined SCNdFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
805 # undef SCNdFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
806 # if INT_FAST8_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
807 # define SCNdFAST8 SCNd64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
808 # elif INT_FAST8_MAX == 0x7fff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
809 # define SCNdFAST8 "hd"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
810 # elif INT_FAST8_MAX == 0x7f
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
811 # define SCNdFAST8 "hhd"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
812 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
813 # define SCNdFAST8 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
814 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
815 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
816 #if !defined SCNiFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
817 # undef SCNiFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
818 # if INT_FAST8_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
819 # define SCNiFAST8 SCNi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
820 # elif INT_FAST8_MAX == 0x7fff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
821 # define SCNiFAST8 "hi"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
822 # elif INT_FAST8_MAX == 0x7f
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
823 # define SCNiFAST8 "hhi"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
824 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
825 # define SCNiFAST8 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
826 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
827 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
828 #if !defined SCNoFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
829 # undef SCNoFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
830 # if UINT_FAST8_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
831 # define SCNoFAST8 SCNo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
832 # elif UINT_FAST8_MAX == 0xffff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
833 # define SCNoFAST8 "ho"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
834 # elif UINT_FAST8_MAX == 0xff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
835 # define SCNoFAST8 "hho"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
836 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
837 # define SCNoFAST8 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
838 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
839 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
840 #if !defined SCNuFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
841 # undef SCNuFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
842 # if UINT_FAST8_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
843 # define SCNuFAST8 SCNu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
844 # elif UINT_FAST8_MAX == 0xffff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
845 # define SCNuFAST8 "hu"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
846 # elif UINT_FAST8_MAX == 0xff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
847 # define SCNuFAST8 "hhu"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
848 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
849 # define SCNuFAST8 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
850 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
851 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
852 #if !defined SCNxFAST8 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
853 # undef SCNxFAST8
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
854 # if UINT_FAST8_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
855 # define SCNxFAST8 SCNx64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
856 # elif UINT_FAST8_MAX == 0xffff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
857 # define SCNxFAST8 "hx"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
858 # elif UINT_FAST8_MAX == 0xff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
859 # define SCNxFAST8 "hhx"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
860 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
861 # define SCNxFAST8 "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
862 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
863 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
864 #if !defined SCNdFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
865 # undef SCNdFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
866 # if INT_FAST16_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
867 # define SCNdFAST16 SCNd64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
868 # elif INT_FAST16_MAX == 0x7fff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
869 # define SCNdFAST16 "hd"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
870 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
871 # define SCNdFAST16 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
872 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
873 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
874 #if !defined SCNiFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
875 # undef SCNiFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
876 # if INT_FAST16_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
877 # define SCNiFAST16 SCNi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
878 # elif INT_FAST16_MAX == 0x7fff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
879 # define SCNiFAST16 "hi"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
880 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
881 # define SCNiFAST16 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
882 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
883 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
884 #if !defined SCNoFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
885 # undef SCNoFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
886 # if UINT_FAST16_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
887 # define SCNoFAST16 SCNo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
888 # elif UINT_FAST16_MAX == 0xffff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
889 # define SCNoFAST16 "ho"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
890 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
891 # define SCNoFAST16 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
892 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
893 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
894 #if !defined SCNuFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
895 # undef SCNuFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
896 # if UINT_FAST16_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
897 # define SCNuFAST16 SCNu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
898 # elif UINT_FAST16_MAX == 0xffff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
899 # define SCNuFAST16 "hu"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
900 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
901 # define SCNuFAST16 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
902 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
903 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
904 #if !defined SCNxFAST16 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
905 # undef SCNxFAST16
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
906 # if UINT_FAST16_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
907 # define SCNxFAST16 SCNx64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
908 # elif UINT_FAST16_MAX == 0xffff
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
909 # define SCNxFAST16 "hx"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
910 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
911 # define SCNxFAST16 "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
912 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
913 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
914 #if !defined SCNdFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
915 # undef SCNdFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
916 # if INT_FAST32_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
917 # define SCNdFAST32 SCNd64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
918 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
919 # define SCNdFAST32 "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
920 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
921 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
922 #if !defined SCNiFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
923 # undef SCNiFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
924 # if INT_FAST32_MAX > INT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
925 # define SCNiFAST32 SCNi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
926 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
927 # define SCNiFAST32 "i"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
928 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
929 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
930 #if !defined SCNoFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
931 # undef SCNoFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
932 # if UINT_FAST32_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
933 # define SCNoFAST32 SCNo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
934 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
935 # define SCNoFAST32 "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
936 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
937 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
938 #if !defined SCNuFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
939 # undef SCNuFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
940 # if UINT_FAST32_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
941 # define SCNuFAST32 SCNu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
942 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
943 # define SCNuFAST32 "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
944 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
945 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
946 #if !defined SCNxFAST32 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
947 # undef SCNxFAST32
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
948 # if UINT_FAST32_MAX > UINT32_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
949 # define SCNxFAST32 SCNx64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
950 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
951 # define SCNxFAST32 "x"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
952 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
953 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
954 #ifdef INT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
955 # if !defined SCNdFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
956 # undef SCNdFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
957 # define SCNdFAST64 SCNd64
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 # if !defined SCNiFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
960 # undef SCNiFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
961 # define SCNiFAST64 SCNi64
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
962 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
963 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
964 #ifdef UINT64_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
965 # if !defined SCNoFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
966 # undef SCNoFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
967 # define SCNoFAST64 SCNo64
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 SCNuFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
970 # undef SCNuFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
971 # define SCNuFAST64 SCNu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
972 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
973 # if !defined SCNxFAST64 || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
974 # undef SCNxFAST64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
975 # define SCNxFAST64 SCNx64
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
976 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
977 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
978
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
979 #if !defined SCNdMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
980 # undef SCNdMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
981 # if @INT32_MAX_LT_INTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
982 # define SCNdMAX SCNd64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
983 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
984 # define SCNdMAX "ld"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
985 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
986 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
987 #if !defined SCNiMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
988 # undef SCNiMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
989 # if @INT32_MAX_LT_INTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
990 # define SCNiMAX SCNi64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
991 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
992 # define SCNiMAX "li"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
993 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
994 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
995 #if !defined SCNoMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
996 # undef SCNoMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
997 # if @UINT32_MAX_LT_UINTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
998 # define SCNoMAX SCNo64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
999 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1000 # define SCNoMAX "lo"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1001 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1002 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1003 #if !defined SCNuMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1004 # undef SCNuMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1005 # if @UINT32_MAX_LT_UINTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1006 # define SCNuMAX SCNu64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1007 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1008 # define SCNuMAX "lu"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1009 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1010 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1011 #if !defined SCNxMAX || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1012 # undef SCNxMAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1013 # if @UINT32_MAX_LT_UINTMAX_MAX@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1014 # define SCNxMAX SCNx64
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1015 # else
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1016 # define SCNxMAX "lx"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1017 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1018 #endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1019
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1020 #if !defined SCNdPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1021 # undef SCNdPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1022 # ifdef INTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1023 # define SCNdPTR @PRIPTR_PREFIX@ "d"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1024 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1025 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1026 #if !defined SCNiPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1027 # undef SCNiPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1028 # ifdef INTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1029 # define SCNiPTR @PRIPTR_PREFIX@ "i"
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1030 # endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1031 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1032 #if !defined SCNoPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1033 # undef SCNoPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1034 # ifdef UINTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1035 # define SCNoPTR @PRIPTR_PREFIX@ "o"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1036 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1037 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1038 #if !defined SCNuPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1039 # undef SCNuPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1040 # ifdef UINTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1041 # define SCNuPTR @PRIPTR_PREFIX@ "u"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1042 # endif
16163
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1043 #endif
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1044 #if !defined SCNxPTR || @PRI_MACROS_BROKEN@
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1045 # undef SCNxPTR
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1046 # ifdef UINTPTR_MAX
8151b33f4264 inttypes, stdint: add C++11 support
Paul Eggert <eggert@cs.ucla.edu>
parents: 14619
diff changeset
1047 # define SCNxPTR @PRIPTR_PREFIX@ "x"
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1048 # endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1049 #endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1050
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1051 /* 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
1052
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1053 #ifdef __cplusplus
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1054 extern "C" {
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1055 #endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1056
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1057 #if @GNULIB_IMAXABS@
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1058 # if !@HAVE_DECL_IMAXABS@
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1059 extern intmax_t imaxabs (intmax_t);
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1060 # endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1061 #elif defined GNULIB_POSIXCHECK
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1062 # undef imaxabs
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1063 # if HAVE_RAW_DECL_IMAXABS
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1064 _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
1065 "use gnulib module imaxabs for portability");
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1066 # endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1067 #endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1068
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1069 #if @GNULIB_IMAXDIV@
19663
a1cf139454dc imaxdiv: Fix compilation error on Android.
Bruno Haible <bruno@clisp.org>
parents: 19595
diff changeset
1070 # if !@HAVE_IMAXDIV_T@
14274
da5595160b9f Allow multiple gnulib generated replacements to coexist.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
1071 # if !GNULIB_defined_imaxdiv_t
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1072 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
1073 # define GNULIB_defined_imaxdiv_t 1
da5595160b9f Allow multiple gnulib generated replacements to coexist.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
1074 # endif
19663
a1cf139454dc imaxdiv: Fix compilation error on Android.
Bruno Haible <bruno@clisp.org>
parents: 19595
diff changeset
1075 # endif
a1cf139454dc imaxdiv: Fix compilation error on Android.
Bruno Haible <bruno@clisp.org>
parents: 19595
diff changeset
1076 # if !@HAVE_DECL_IMAXDIV@
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1077 extern imaxdiv_t imaxdiv (intmax_t, intmax_t);
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1078 # endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1079 #elif defined GNULIB_POSIXCHECK
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1080 # undef imaxdiv
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1081 # if HAVE_RAW_DECL_IMAXDIV
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1082 _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
1083 "use gnulib module imaxdiv for portability");
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1084 # endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1085 #endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1086
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1087 #if @GNULIB_STRTOIMAX@
16230
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1088 # if @REPLACE_STRTOIMAX@
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1089 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1090 # undef strtoimax
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1091 # define strtoimax rpl_strtoimax
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1092 # endif
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1093 _GL_FUNCDECL_RPL (strtoimax, intmax_t,
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1094 (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
1095 _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
1096 # else
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1097 # if !@HAVE_DECL_STRTOIMAX@
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1098 # undef strtoimax
16229
daac1ca4c436 inttypes: Modernize.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
1099 _GL_FUNCDECL_SYS (strtoimax, intmax_t,
daac1ca4c436 inttypes: Modernize.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
1100 (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
1101 # endif
f9e137049132 strtoimax: Work around AIX 5.1 bug.
Bruno Haible <bruno@clisp.org>
parents: 16229
diff changeset
1102 _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
1103 # endif
16229
daac1ca4c436 inttypes: Modernize.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
1104 _GL_CXXALIASWARN (strtoimax);
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1105 #elif defined GNULIB_POSIXCHECK
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1106 # undef strtoimax
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1107 # if HAVE_RAW_DECL_STRTOIMAX
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1108 _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
1109 "use gnulib module strtoimax for portability");
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1110 # endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1111 #endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1112
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1113 #if @GNULIB_STRTOUMAX@
17507
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1114 # if @REPLACE_STRTOUMAX@
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1115 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1116 # undef strtoumax
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1117 # define strtoumax rpl_strtoumax
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1118 # endif
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1119 _GL_FUNCDECL_RPL (strtoumax, uintmax_t,
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1120 (const char *, char **, int) _GL_ARG_NONNULL ((1)));
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1121 _GL_CXXALIAS_RPL (strtoumax, uintmax_t, (const char *, char **, int));
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1122 # else
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1123 # if !@HAVE_DECL_STRTOUMAX@
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1124 # undef strtoumax
16229
daac1ca4c436 inttypes: Modernize.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
1125 _GL_FUNCDECL_SYS (strtoumax, uintmax_t,
daac1ca4c436 inttypes: Modernize.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
1126 (const char *, char **, int) _GL_ARG_NONNULL ((1)));
17507
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1127 # endif
d4beb8189862 strtoimax, strtoumax: port to HP-UX 11.11
Paul Eggert <eggert@cs.ucla.edu>
parents: 17249
diff changeset
1128 _GL_CXXALIAS_SYS (strtoumax, uintmax_t, (const char *, char **, int));
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1129 # endif
16229
daac1ca4c436 inttypes: Modernize.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
1130 _GL_CXXALIASWARN (strtoumax);
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1131 #elif defined GNULIB_POSIXCHECK
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1132 # undef strtoumax
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1133 # if HAVE_RAW_DECL_STRTOUMAX
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1134 _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
1135 "use gnulib module strtoumax for portability");
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12559
diff changeset
1136 # endif
9253
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1137 #endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1138
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1139 /* 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
1140 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
1141
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1142 #ifdef __cplusplus
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1143 }
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1144 #endif
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1145
b1742229630b Rename inttypes_.h to inttypes.in.h.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1146 #endif /* !defined INTTYPES_H && !defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H */