comparison fuhtark_test/include/_mingw_print_push.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6
7 /* Undefine __mingw_<printf> macros. */
8 #if defined(__USE_MINGW_ANSI_STDIO) && ((__USE_MINGW_ANSI_STDIO + 0) != 0)
9 #undef fprintf
10 #undef printf
11 #undef sprintf
12 #undef snprintf
13 #undef vfprintf
14 #undef vprintf
15 #undef vsprintf
16 #undef vsnprintf
17
18 /* Redefine to MS specific PRI... and SCN... macros. */
19 #if defined(_INTTYPES_H_) && defined(PRId64)
20 #undef PRId64
21 #undef PRIdLEAST64
22 #undef PRIdFAST64
23 #undef PRIdMAX
24 #undef PRIi64
25 #undef PRIiLEAST64
26 #undef PRIiFAST64
27 #undef PRIiMAX
28 #undef PRIo64
29 #undef PRIoLEAST64
30 #undef PRIoFAST64
31 #undef PRIoMAX
32 #undef PRIu64
33 #undef PRIuLEAST64
34 #undef PRIuFAST64
35 #undef PRIuMAX
36 #undef PRIx64
37 #undef PRIxLEAST64
38 #undef PRIxFAST64
39 #undef PRIxMAX
40 #undef PRIX64
41 #undef PRIXLEAST64
42 #undef PRIXFAST64
43 #undef PRIXMAX
44 #undef SCNd64
45 #undef SCNdLEAST64
46 #undef SCNdFAST64
47 #undef SCNdMAX
48 #undef SCNi64
49 #undef SCNiLEAST64
50 #undef SCNiFAST64
51 #undef SCNiMAX
52 #undef SCNo64
53 #undef SCNoLEAST64
54 #undef SCNoFAST64
55 #undef SCNoMAX
56 #undef SCNx64
57 #undef SCNxLEAST64
58 #undef SCNxFAST64
59 #undef SCNxMAX
60 #undef SCNu64
61 #undef SCNuLEAST64
62 #undef SCNuFAST64
63 #undef SCNuMAX
64 #ifdef _WIN64
65 #undef PRIdPTR
66 #undef PRIiPTR
67 #undef PRIoPTR
68 #undef PRIuPTR
69 #undef PRIxPTR
70 #undef PRIXPTR
71 #undef SCNdPTR
72 #undef SCNiPTR
73 #undef SCNoPTR
74 #undef SCNxPTR
75 #undef SCNuPTR
76 #endif
77
78 #define PRId64 "I64d"
79 #define PRIdLEAST64 "I64d"
80 #define PRIdFAST64 "I64d"
81 #define PRIdMAX "I64d"
82 #define PRIi64 "I64i"
83 #define PRIiLEAST64 "I64i"
84 #define PRIiFAST64 "I64i"
85 #define PRIiMAX "I64i"
86 #define PRIo64 "I64o"
87 #define PRIoLEAST64 "I64o"
88 #define PRIoFAST64 "I64o"
89 #define PRIoMAX "I64o"
90 #define PRIu64 "I64u"
91 #define PRIuLEAST64 "I64u"
92 #define PRIuFAST64 "I64u"
93 #define PRIuMAX "I64u"
94 #define PRIx64 "I64x"
95 #define PRIxLEAST64 "I64x"
96 #define PRIxFAST64 "I64x"
97 #define PRIxMAX "I64x"
98 #define PRIX64 "I64X"
99 #define PRIXLEAST64 "I64X"
100 #define PRIXFAST64 "I64X"
101 #define PRIXMAX "I64X"
102 #define SCNd64 "I64d"
103 #define SCNdLEAST64 "I64d"
104 #define SCNdFAST64 "I64d"
105 #define SCNdMAX "I64d"
106 #define SCNi64 "I64i"
107 #define SCNiLEAST64 "I64i"
108 #define SCNiFAST64 "I64i"
109 #define SCNiMAX "I64i"
110 #define SCNo64 "I64o"
111 #define SCNoLEAST64 "I64o"
112 #define SCNoFAST64 "I64o"
113 #define SCNoMAX "I64o"
114 #define SCNx64 "I64x"
115 #define SCNxLEAST64 "I64x"
116 #define SCNxFAST64 "I64x"
117 #define SCNxMAX "I64x"
118 #define SCNu64 "I64u"
119 #define SCNuLEAST64 "I64u"
120 #define SCNuFAST64 "I64u"
121 #define SCNuMAX "I64u"
122 #ifdef _WIN64
123 #define PRIdPTR "I64d"
124 #define PRIiPTR "I64i"
125 #define PRIoPTR "I64o"
126 #define PRIuPTR "I64u"
127 #define PRIxPTR "I64x"
128 #define PRIXPTR "I64X"
129 #define SCNdPTR "I64d"
130 #define SCNiPTR "I64i"
131 #define SCNoPTR "I64o"
132 #define SCNxPTR "I64x"
133 #define SCNuPTR "I64u"
134 #endif
135 #endif
136
137 #endif /* defined(__USE_MINGW_ANSI_STDIO) && __USE_MINGW_ANSI_STDIO != 0 */
138