comparison fuhtark_test/include/_mingw_print_pop.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 /* Define __mingw_<printf> macros. */
8 #if defined(__USE_MINGW_ANSI_STDIO) && defined(_INC_STDIO) && ((__USE_MINGW_ANSI_STDIO + 0) != 0)
9 #define fprintf __mingw_fprintf
10 #define printf __mingw_printf
11 #define sprintf __mingw_sprintf
12 #define snprintf __mingw_snprintf
13 #define vfprintf __mingw_vfprintf
14 #define vprintf __mingw_vprintf
15 #define vsprintf __mingw_vsprintf
16 #define vsnprintf __mingw_vsnprintf
17
18 /* Redefine to GNU 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 "lld"
79 #define PRIdLEAST64 "lld"
80 #define PRIdFAST64 "lld"
81 #define PRIdMAX "lld"
82 #define PRIi64 "lli"
83 #define PRIiLEAST64 "lli"
84 #define PRIiFAST64 "lli"
85 #define PRIiMAX "lli"
86 #define PRIo64 "llo"
87 #define PRIoLEAST64 "llo"
88 #define PRIoFAST64 "llo"
89 #define PRIoMAX "llo"
90 #define PRIu64 "llu"
91 #define PRIuLEAST64 "llu"
92 #define PRIuFAST64 "llu"
93 #define PRIuMAX "llu"
94 #define PRIx64 "llx"
95 #define PRIxLEAST64 "llx"
96 #define PRIxFAST64 "llx"
97 #define PRIxMAX "llx"
98 #define PRIX64 "llX"
99 #define PRIXLEAST64 "llX"
100 #define PRIXFAST64 "llX"
101 #define PRIXMAX "llX"
102 #define SCNd64 "lld"
103 #define SCNdLEAST64 "lld"
104 #define SCNdFAST64 "lld"
105 #define SCNdMAX "lld"
106 #define SCNi64 "lli"
107 #define SCNiLEAST64 "lli"
108 #define SCNiFAST64 "lli"
109 #define SCNiMAX "lli"
110 #define SCNo64 "llo"
111 #define SCNoLEAST64 "llo"
112 #define SCNoFAST64 "llo"
113 #define SCNoMAX "llo"
114 #define SCNx64 "llx"
115 #define SCNxLEAST64 "llx"
116 #define SCNxFAST64 "llx"
117 #define SCNxMAX "llx"
118 #define SCNu64 "llu"
119 #define SCNuLEAST64 "llu"
120 #define SCNuFAST64 "llu"
121 #define SCNuMAX "llu"
122 #ifdef _WIN64
123 #define PRIdPTR "lld"
124 #define PRIiPTR "lli"
125 #define PRIoPTR "llo"
126 #define PRIuPTR "llu"
127 #define PRIxPTR "llx"
128 #define PRIXPTR "llX"
129 #define SCNdPTR "lld"
130 #define SCNiPTR "lli"
131 #define SCNoPTR "llo"
132 #define SCNxPTR "llx"
133 #define SCNuPTR "llu"
134 #endif
135 #endif
136
137 #endif /* defined(__USE_MINGW_ANSI_STDIO) && defined(_INC_STDIO) && __USE_MINGW_ANSI_STDIO != 0 */