comparison th_types.h @ 747:57ccf6402d2a

No need to check for both __MINGW32__ and __MINGW64__, the former is enough.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 Dec 2022 13:20:06 +0200
parents a557d1b2a356
children c6b2546d3ae3
comparison
equal deleted inserted replaced
746:a557d1b2a356 747:57ccf6402d2a
13 #ifndef TH_TYPES_H 13 #ifndef TH_TYPES_H
14 #define TH_TYPES_H 1 14 #define TH_TYPES_H 1
15 15
16 16
17 // Meh, this is a hack due to the crap non-portability of 64bit 17 // Meh, this is a hack due to the crap non-portability of 64bit
18 // printf PRI* type specifiers/modifiers 18 // printf() PRI* type specifiers/modifiers
19 #if !defined(TH_USE_BONK_TYPES) && (defined(__MINGW32__) || defined(__MINGW64__)) 19 #if !defined(TH_USE_BONK_TYPES) && defined(__MINGW32__)
20 # define __USE_MINGW_ANSI_STDIO 1 20 # define __USE_MINGW_ANSI_STDIO 1
21 #endif 21 #endif
22 22
23 23
24 // Older MinGW-w64 versions do not play well with certain PRI* and type 24 // Older MinGW-w64 versions do not play well with certain PRI* and type