]>
code.delx.au - gnu-emacs/blob - lib/inttypes.h
1 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
2 /* Copyright (C) 2006-2011 Free Software Foundation, Inc.
3 Written by Paul Eggert, Bruno Haible, Derek Price.
4 This file is part of gnulib.
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 * ISO C 99 <inttypes.h> for platforms that lack it.
21 * <http://www.opengroup.org/susv3xbd/inttypes.h.html>
25 #pragma GCC system_header
29 /* Include the original <inttypes.h> if it exists, and if this file
30 has not been included yet or if this file includes gnulib stdint.h
31 which in turn includes this file.
32 The include_next requires a split double-inclusion guard. */
33 #if ! defined INTTYPES_H || defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
35 # include_next <inttypes.h>
39 #if ! defined INTTYPES_H && ! defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
42 /* Include <stdint.h> or the gnulib replacement.
43 But avoid namespace pollution on glibc systems. */
50 #if !(INT_MIN == INT32_MIN && INT_MAX == INT32_MAX)
51 # error "This file assumes that 'int' has exactly 32 bits. Please report your platform and compiler to <bug-gnulib@gnu.org>."
54 /* The definition of _GL_ARG_NONNULL is copied here. */
55 /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools
56 that the values passed as arguments n, ..., m must be non-NULL pointers.
57 n = 1 stands for the first argument, n = 2 for the second argument etc. */
58 #ifndef _GL_ARG_NONNULL
59 # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3
60 # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params))
62 # define _GL_ARG_NONNULL(params)
66 /* The definition of _GL_WARN_ON_USE is copied here. */
67 #ifndef _GL_WARN_ON_USE
69 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)
70 /* A compiler attribute is available in gcc versions 4.3.0 and later. */
71 # define _GL_WARN_ON_USE(function, message) \
72 extern __typeof__ (function) function __attribute__ ((__warning__ (message)))
73 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
74 /* Verify the existence of the function. */
75 # define _GL_WARN_ON_USE(function, message) \
76 extern __typeof__ (function) function
77 # else /* Unsupported. */
78 # define _GL_WARN_ON_USE(function, message) \
79 _GL_WARN_EXTERN_C int _gl_warn_on_use
83 /* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string")
84 is like _GL_WARN_ON_USE (function, "string"), except that the function is
85 declared with the given prototype, consisting of return type, parameters,
87 This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does
88 not work in this case. */
89 #ifndef _GL_WARN_ON_USE_CXX
90 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)
91 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
92 extern rettype function parameters_and_attributes \
93 __attribute__ ((__warning__ (msg)))
94 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
95 /* Verify the existence of the function. */
96 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
97 extern rettype function parameters_and_attributes
98 # else /* Unsupported. */
99 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \
100 _GL_WARN_EXTERN_C int _gl_warn_on_use
104 /* _GL_WARN_EXTERN_C declaration;
105 performs the declaration with C linkage. */
106 #ifndef _GL_WARN_EXTERN_C
107 # if defined __cplusplus
108 # define _GL_WARN_EXTERN_C extern "C"
110 # define _GL_WARN_EXTERN_C extern
114 /* 7.8.1 Macros for format specifiers */
116 #if ! defined __cplusplus || defined __STDC_FORMAT_MACROS
118 # if defined _TNS_R_TARGET
119 /* Tandem NonStop R series and compatible platforms released before
120 July 2005 support %Ld but not %lld. */
121 # define _LONG_LONG_FORMAT_PREFIX "L"
123 # define _LONG_LONG_FORMAT_PREFIX "ll"
126 # if !defined PRId8 || 0
132 # if !defined PRIi8 || 0
138 # if !defined PRIo8 || 0
144 # if !defined PRIu8 || 0
150 # if !defined PRIx8 || 0
156 # if !defined PRIX8 || 0
162 # if !defined PRId16 || 0
168 # if !defined PRIi16 || 0
174 # if !defined PRIo16 || 0
180 # if !defined PRIu16 || 0
186 # if !defined PRIx16 || 0
192 # if !defined PRIX16 || 0
198 # if !defined PRId32 || 0
204 # if !defined PRIi32 || 0
210 # if !defined PRIo32 || 0
216 # if !defined PRIu32 || 0
222 # if !defined PRIx32 || 0
228 # if !defined PRIX32 || 0
235 # if (0 ? defined _LP64 : 1)
236 # define _PRI64_PREFIX "l"
237 # elif defined _MSC_VER || defined __MINGW32__
238 # define _PRI64_PREFIX "I64"
239 # elif 1 && LONG_MAX >> 30 == 1
240 # define _PRI64_PREFIX _LONG_LONG_FORMAT_PREFIX
242 # if !defined PRId64 || 0
244 # define PRId64 _PRI64_PREFIX "d"
246 # if !defined PRIi64 || 0
248 # define PRIi64 _PRI64_PREFIX "i"
252 # if (0 ? defined _LP64 : 1)
253 # define _PRIu64_PREFIX "l"
254 # elif defined _MSC_VER || defined __MINGW32__
255 # define _PRIu64_PREFIX "I64"
256 # elif 1 && ULONG_MAX >> 31 == 1
257 # define _PRIu64_PREFIX _LONG_LONG_FORMAT_PREFIX
259 # if !defined PRIo64 || 0
261 # define PRIo64 _PRIu64_PREFIX "o"
263 # if !defined PRIu64 || 0
265 # define PRIu64 _PRIu64_PREFIX "u"
267 # if !defined PRIx64 || 0
269 # define PRIx64 _PRIu64_PREFIX "x"
271 # if !defined PRIX64 || 0
273 # define PRIX64 _PRIu64_PREFIX "X"
277 # if !defined PRIdLEAST8 || 0
279 # define PRIdLEAST8 "d"
281 # if !defined PRIiLEAST8 || 0
283 # define PRIiLEAST8 "i"
285 # if !defined PRIoLEAST8 || 0
287 # define PRIoLEAST8 "o"
289 # if !defined PRIuLEAST8 || 0
291 # define PRIuLEAST8 "u"
293 # if !defined PRIxLEAST8 || 0
295 # define PRIxLEAST8 "x"
297 # if !defined PRIXLEAST8 || 0
299 # define PRIXLEAST8 "X"
301 # if !defined PRIdLEAST16 || 0
303 # define PRIdLEAST16 "d"
305 # if !defined PRIiLEAST16 || 0
307 # define PRIiLEAST16 "i"
309 # if !defined PRIoLEAST16 || 0
311 # define PRIoLEAST16 "o"
313 # if !defined PRIuLEAST16 || 0
315 # define PRIuLEAST16 "u"
317 # if !defined PRIxLEAST16 || 0
319 # define PRIxLEAST16 "x"
321 # if !defined PRIXLEAST16 || 0
323 # define PRIXLEAST16 "X"
325 # if !defined PRIdLEAST32 || 0
327 # define PRIdLEAST32 "d"
329 # if !defined PRIiLEAST32 || 0
331 # define PRIiLEAST32 "i"
333 # if !defined PRIoLEAST32 || 0
335 # define PRIoLEAST32 "o"
337 # if !defined PRIuLEAST32 || 0
339 # define PRIuLEAST32 "u"
341 # if !defined PRIxLEAST32 || 0
343 # define PRIxLEAST32 "x"
345 # if !defined PRIXLEAST32 || 0
347 # define PRIXLEAST32 "X"
350 # if !defined PRIdLEAST64 || 0
352 # define PRIdLEAST64 PRId64
354 # if !defined PRIiLEAST64 || 0
356 # define PRIiLEAST64 PRIi64
360 # if !defined PRIoLEAST64 || 0
362 # define PRIoLEAST64 PRIo64
364 # if !defined PRIuLEAST64 || 0
366 # define PRIuLEAST64 PRIu64
368 # if !defined PRIxLEAST64 || 0
370 # define PRIxLEAST64 PRIx64
372 # if !defined PRIXLEAST64 || 0
374 # define PRIXLEAST64 PRIX64
378 # if !defined PRIdFAST8 || 0
380 # if INT_FAST8_MAX > INT32_MAX
381 # define PRIdFAST8 PRId64
383 # define PRIdFAST8 "d"
386 # if !defined PRIiFAST8 || 0
388 # if INT_FAST8_MAX > INT32_MAX
389 # define PRIiFAST8 PRIi64
391 # define PRIiFAST8 "i"
394 # if !defined PRIoFAST8 || 0
396 # if UINT_FAST8_MAX > UINT32_MAX
397 # define PRIoFAST8 PRIo64
399 # define PRIoFAST8 "o"
402 # if !defined PRIuFAST8 || 0
404 # if UINT_FAST8_MAX > UINT32_MAX
405 # define PRIuFAST8 PRIu64
407 # define PRIuFAST8 "u"
410 # if !defined PRIxFAST8 || 0
412 # if UINT_FAST8_MAX > UINT32_MAX
413 # define PRIxFAST8 PRIx64
415 # define PRIxFAST8 "x"
418 # if !defined PRIXFAST8 || 0
420 # if UINT_FAST8_MAX > UINT32_MAX
421 # define PRIXFAST8 PRIX64
423 # define PRIXFAST8 "X"
426 # if !defined PRIdFAST16 || 0
428 # if INT_FAST16_MAX > INT32_MAX
429 # define PRIdFAST16 PRId64
431 # define PRIdFAST16 "d"
434 # if !defined PRIiFAST16 || 0
436 # if INT_FAST16_MAX > INT32_MAX
437 # define PRIiFAST16 PRIi64
439 # define PRIiFAST16 "i"
442 # if !defined PRIoFAST16 || 0
444 # if UINT_FAST16_MAX > UINT32_MAX
445 # define PRIoFAST16 PRIo64
447 # define PRIoFAST16 "o"
450 # if !defined PRIuFAST16 || 0
452 # if UINT_FAST16_MAX > UINT32_MAX
453 # define PRIuFAST16 PRIu64
455 # define PRIuFAST16 "u"
458 # if !defined PRIxFAST16 || 0
460 # if UINT_FAST16_MAX > UINT32_MAX
461 # define PRIxFAST16 PRIx64
463 # define PRIxFAST16 "x"
466 # if !defined PRIXFAST16 || 0
468 # if UINT_FAST16_MAX > UINT32_MAX
469 # define PRIXFAST16 PRIX64
471 # define PRIXFAST16 "X"
474 # if !defined PRIdFAST32 || 0
476 # if INT_FAST32_MAX > INT32_MAX
477 # define PRIdFAST32 PRId64
479 # define PRIdFAST32 "d"
482 # if !defined PRIiFAST32 || 0
484 # if INT_FAST32_MAX > INT32_MAX
485 # define PRIiFAST32 PRIi64
487 # define PRIiFAST32 "i"
490 # if !defined PRIoFAST32 || 0
492 # if UINT_FAST32_MAX > UINT32_MAX
493 # define PRIoFAST32 PRIo64
495 # define PRIoFAST32 "o"
498 # if !defined PRIuFAST32 || 0
500 # if UINT_FAST32_MAX > UINT32_MAX
501 # define PRIuFAST32 PRIu64
503 # define PRIuFAST32 "u"
506 # if !defined PRIxFAST32 || 0
508 # if UINT_FAST32_MAX > UINT32_MAX
509 # define PRIxFAST32 PRIx64
511 # define PRIxFAST32 "x"
514 # if !defined PRIXFAST32 || 0
516 # if UINT_FAST32_MAX > UINT32_MAX
517 # define PRIXFAST32 PRIX64
519 # define PRIXFAST32 "X"
523 # if !defined PRIdFAST64 || 0
525 # define PRIdFAST64 PRId64
527 # if !defined PRIiFAST64 || 0
529 # define PRIiFAST64 PRIi64
533 # if !defined PRIoFAST64 || 0
535 # define PRIoFAST64 PRIo64
537 # if !defined PRIuFAST64 || 0
539 # define PRIuFAST64 PRIu64
541 # if !defined PRIxFAST64 || 0
543 # define PRIxFAST64 PRIx64
545 # if !defined PRIXFAST64 || 0
547 # define PRIXFAST64 PRIX64
551 # if !defined PRIdMAX || 0
554 # define PRIdMAX PRId64
556 # define PRIdMAX "ld"
559 # if !defined PRIiMAX || 0
562 # define PRIiMAX PRIi64
564 # define PRIiMAX "li"
567 # if !defined PRIoMAX || 0
570 # define PRIoMAX PRIo64
572 # define PRIoMAX "lo"
575 # if !defined PRIuMAX || 0
578 # define PRIuMAX PRIu64
580 # define PRIuMAX "lu"
583 # if !defined PRIxMAX || 0
586 # define PRIxMAX PRIx64
588 # define PRIxMAX "lx"
591 # if !defined PRIXMAX || 0
594 # define PRIXMAX PRIX64
596 # define PRIXMAX "lX"
600 # if !defined PRIdPTR || 0
603 # define PRIdPTR "l" "d"
606 # if !defined PRIiPTR || 0
609 # define PRIiPTR "l" "i"
612 # if !defined PRIoPTR || 0
615 # define PRIoPTR "l" "o"
618 # if !defined PRIuPTR || 0
621 # define PRIuPTR "l" "u"
624 # if !defined PRIxPTR || 0
627 # define PRIxPTR "l" "x"
630 # if !defined PRIXPTR || 0
633 # define PRIXPTR "l" "X"
637 # if !defined SCNd8 || 0
643 # if !defined SCNi8 || 0
649 # if !defined SCNo8 || 0
655 # if !defined SCNu8 || 0
661 # if !defined SCNx8 || 0
667 # if !defined SCNd16 || 0
673 # if !defined SCNi16 || 0
679 # if !defined SCNo16 || 0
685 # if !defined SCNu16 || 0
691 # if !defined SCNx16 || 0
697 # if !defined SCNd32 || 0
703 # if !defined SCNi32 || 0
709 # if !defined SCNo32 || 0
715 # if !defined SCNu32 || 0
721 # if !defined SCNx32 || 0
728 # if (0 ? defined _LP64 : 1)
729 # define _SCN64_PREFIX "l"
730 # elif defined _MSC_VER || defined __MINGW32__
731 # define _SCN64_PREFIX "I64"
732 # elif 1 && LONG_MAX >> 30 == 1
733 # define _SCN64_PREFIX _LONG_LONG_FORMAT_PREFIX
735 # if !defined SCNd64 || 0
737 # define SCNd64 _SCN64_PREFIX "d"
739 # if !defined SCNi64 || 0
741 # define SCNi64 _SCN64_PREFIX "i"
745 # if (0 ? defined _LP64 : 1)
746 # define _SCNu64_PREFIX "l"
747 # elif defined _MSC_VER || defined __MINGW32__
748 # define _SCNu64_PREFIX "I64"
749 # elif 1 && ULONG_MAX >> 31 == 1
750 # define _SCNu64_PREFIX _LONG_LONG_FORMAT_PREFIX
752 # if !defined SCNo64 || 0
754 # define SCNo64 _SCNu64_PREFIX "o"
756 # if !defined SCNu64 || 0
758 # define SCNu64 _SCNu64_PREFIX "u"
760 # if !defined SCNx64 || 0
762 # define SCNx64 _SCNu64_PREFIX "x"
766 # if !defined SCNdLEAST8 || 0
768 # define SCNdLEAST8 "hhd"
770 # if !defined SCNiLEAST8 || 0
772 # define SCNiLEAST8 "hhi"
774 # if !defined SCNoLEAST8 || 0
776 # define SCNoLEAST8 "hho"
778 # if !defined SCNuLEAST8 || 0
780 # define SCNuLEAST8 "hhu"
782 # if !defined SCNxLEAST8 || 0
784 # define SCNxLEAST8 "hhx"
786 # if !defined SCNdLEAST16 || 0
788 # define SCNdLEAST16 "hd"
790 # if !defined SCNiLEAST16 || 0
792 # define SCNiLEAST16 "hi"
794 # if !defined SCNoLEAST16 || 0
796 # define SCNoLEAST16 "ho"
798 # if !defined SCNuLEAST16 || 0
800 # define SCNuLEAST16 "hu"
802 # if !defined SCNxLEAST16 || 0
804 # define SCNxLEAST16 "hx"
806 # if !defined SCNdLEAST32 || 0
808 # define SCNdLEAST32 "d"
810 # if !defined SCNiLEAST32 || 0
812 # define SCNiLEAST32 "i"
814 # if !defined SCNoLEAST32 || 0
816 # define SCNoLEAST32 "o"
818 # if !defined SCNuLEAST32 || 0
820 # define SCNuLEAST32 "u"
822 # if !defined SCNxLEAST32 || 0
824 # define SCNxLEAST32 "x"
827 # if !defined SCNdLEAST64 || 0
829 # define SCNdLEAST64 SCNd64
831 # if !defined SCNiLEAST64 || 0
833 # define SCNiLEAST64 SCNi64
837 # if !defined SCNoLEAST64 || 0
839 # define SCNoLEAST64 SCNo64
841 # if !defined SCNuLEAST64 || 0
843 # define SCNuLEAST64 SCNu64
845 # if !defined SCNxLEAST64 || 0
847 # define SCNxLEAST64 SCNx64
851 # if !defined SCNdFAST8 || 0
853 # if INT_FAST8_MAX > INT32_MAX
854 # define SCNdFAST8 SCNd64
855 # elif INT_FAST8_MAX == 0x7fff
856 # define SCNdFAST8 "hd"
857 # elif INT_FAST8_MAX == 0x7f
858 # define SCNdFAST8 "hhd"
860 # define SCNdFAST8 "d"
863 # if !defined SCNiFAST8 || 0
865 # if INT_FAST8_MAX > INT32_MAX
866 # define SCNiFAST8 SCNi64
867 # elif INT_FAST8_MAX == 0x7fff
868 # define SCNiFAST8 "hi"
869 # elif INT_FAST8_MAX == 0x7f
870 # define SCNiFAST8 "hhi"
872 # define SCNiFAST8 "i"
875 # if !defined SCNoFAST8 || 0
877 # if UINT_FAST8_MAX > UINT32_MAX
878 # define SCNoFAST8 SCNo64
879 # elif UINT_FAST8_MAX == 0xffff
880 # define SCNoFAST8 "ho"
881 # elif UINT_FAST8_MAX == 0xff
882 # define SCNoFAST8 "hho"
884 # define SCNoFAST8 "o"
887 # if !defined SCNuFAST8 || 0
889 # if UINT_FAST8_MAX > UINT32_MAX
890 # define SCNuFAST8 SCNu64
891 # elif UINT_FAST8_MAX == 0xffff
892 # define SCNuFAST8 "hu"
893 # elif UINT_FAST8_MAX == 0xff
894 # define SCNuFAST8 "hhu"
896 # define SCNuFAST8 "u"
899 # if !defined SCNxFAST8 || 0
901 # if UINT_FAST8_MAX > UINT32_MAX
902 # define SCNxFAST8 SCNx64
903 # elif UINT_FAST8_MAX == 0xffff
904 # define SCNxFAST8 "hx"
905 # elif UINT_FAST8_MAX == 0xff
906 # define SCNxFAST8 "hhx"
908 # define SCNxFAST8 "x"
911 # if !defined SCNdFAST16 || 0
913 # if INT_FAST16_MAX > INT32_MAX
914 # define SCNdFAST16 SCNd64
915 # elif INT_FAST16_MAX == 0x7fff
916 # define SCNdFAST16 "hd"
918 # define SCNdFAST16 "d"
921 # if !defined SCNiFAST16 || 0
923 # if INT_FAST16_MAX > INT32_MAX
924 # define SCNiFAST16 SCNi64
925 # elif INT_FAST16_MAX == 0x7fff
926 # define SCNiFAST16 "hi"
928 # define SCNiFAST16 "i"
931 # if !defined SCNoFAST16 || 0
933 # if UINT_FAST16_MAX > UINT32_MAX
934 # define SCNoFAST16 SCNo64
935 # elif UINT_FAST16_MAX == 0xffff
936 # define SCNoFAST16 "ho"
938 # define SCNoFAST16 "o"
941 # if !defined SCNuFAST16 || 0
943 # if UINT_FAST16_MAX > UINT32_MAX
944 # define SCNuFAST16 SCNu64
945 # elif UINT_FAST16_MAX == 0xffff
946 # define SCNuFAST16 "hu"
948 # define SCNuFAST16 "u"
951 # if !defined SCNxFAST16 || 0
953 # if UINT_FAST16_MAX > UINT32_MAX
954 # define SCNxFAST16 SCNx64
955 # elif UINT_FAST16_MAX == 0xffff
956 # define SCNxFAST16 "hx"
958 # define SCNxFAST16 "x"
961 # if !defined SCNdFAST32 || 0
963 # if INT_FAST32_MAX > INT32_MAX
964 # define SCNdFAST32 SCNd64
966 # define SCNdFAST32 "d"
969 # if !defined SCNiFAST32 || 0
971 # if INT_FAST32_MAX > INT32_MAX
972 # define SCNiFAST32 SCNi64
974 # define SCNiFAST32 "i"
977 # if !defined SCNoFAST32 || 0
979 # if UINT_FAST32_MAX > UINT32_MAX
980 # define SCNoFAST32 SCNo64
982 # define SCNoFAST32 "o"
985 # if !defined SCNuFAST32 || 0
987 # if UINT_FAST32_MAX > UINT32_MAX
988 # define SCNuFAST32 SCNu64
990 # define SCNuFAST32 "u"
993 # if !defined SCNxFAST32 || 0
995 # if UINT_FAST32_MAX > UINT32_MAX
996 # define SCNxFAST32 SCNx64
998 # define SCNxFAST32 "x"
1002 # if !defined SCNdFAST64 || 0
1004 # define SCNdFAST64 SCNd64
1006 # if !defined SCNiFAST64 || 0
1008 # define SCNiFAST64 SCNi64
1012 # if !defined SCNoFAST64 || 0
1014 # define SCNoFAST64 SCNo64
1016 # if !defined SCNuFAST64 || 0
1018 # define SCNuFAST64 SCNu64
1020 # if !defined SCNxFAST64 || 0
1022 # define SCNxFAST64 SCNx64
1026 # if !defined SCNdMAX || 0
1029 # define SCNdMAX SCNd64
1031 # define SCNdMAX "ld"
1034 # if !defined SCNiMAX || 0
1037 # define SCNiMAX SCNi64
1039 # define SCNiMAX "li"
1042 # if !defined SCNoMAX || 0
1045 # define SCNoMAX SCNo64
1047 # define SCNoMAX "lo"
1050 # if !defined SCNuMAX || 0
1053 # define SCNuMAX SCNu64
1055 # define SCNuMAX "lu"
1058 # if !defined SCNxMAX || 0
1061 # define SCNxMAX SCNx64
1063 # define SCNxMAX "lx"
1067 # if !defined SCNdPTR || 0
1070 # define SCNdPTR "l" "d"
1073 # if !defined SCNiPTR || 0
1076 # define SCNiPTR "l" "i"
1079 # if !defined SCNoPTR || 0
1082 # define SCNoPTR "l" "o"
1085 # if !defined SCNuPTR || 0
1088 # define SCNuPTR "l" "u"
1091 # if !defined SCNxPTR || 0
1094 # define SCNxPTR "l" "x"
1100 /* 7.8.2 Functions for greatest-width integer types */
1108 extern intmax_t imaxabs (intmax_t);
1110 #elif defined GNULIB_POSIXCHECK
1112 # if HAVE_RAW_DECL_IMAXABS
1113 _GL_WARN_ON_USE (imaxabs
, "imaxabs is unportable - "
1114 "use gnulib module imaxabs for portability");
1120 # if !GNULIB_defined_imaxdiv_t
1121 typedef struct { intmax_t quot
; intmax_t rem
; } imaxdiv_t
;
1122 # define GNULIB_defined_imaxdiv_t 1
1124 extern imaxdiv_t
imaxdiv (intmax_t, intmax_t);
1126 #elif defined GNULIB_POSIXCHECK
1128 # if HAVE_RAW_DECL_IMAXDIV
1129 _GL_WARN_ON_USE (imaxdiv
, "imaxdiv is unportable - "
1130 "use gnulib module imaxdiv for portability");
1136 extern intmax_t strtoimax (const char *, char **, int) _GL_ARG_NONNULL ((1));
1138 #elif defined GNULIB_POSIXCHECK
1140 # if HAVE_RAW_DECL_STRTOIMAX
1141 _GL_WARN_ON_USE (strtoimax
, "strtoimax is unportable - "
1142 "use gnulib module strtoimax for portability");
1148 extern uintmax_t strtoumax (const char *, char **, int) _GL_ARG_NONNULL ((1));
1150 #elif defined GNULIB_POSIXCHECK
1152 # if HAVE_RAW_DECL_STRTOUMAX
1153 _GL_WARN_ON_USE (strtoumax
, "strtoumax is unportable - "
1154 "use gnulib module strtoumax for portability");
1158 /* Don't bother defining or declaring wcstoimax and wcstoumax, since
1159 wide-character functions like this are hardly ever useful. */
1165 #endif /* !defined INTTYPES_H && !defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H */