fix(build): use GNU printf checker on MinGW
This commit is contained in:
1 parent
e23ba0ec99
commit
b06a67b950
1 file changed
+2
-2
+2
-2
@@ -31,8 +31,8 @@ extern "C" {
|
|||||||
#define _USE_MATH_DEFINES
|
#define _USE_MATH_DEFINES
|
||||||
|
|
||||||
// mingw: match GNU printf enabled via _ISOC99_SOURCE, not ms_printf
|
// mingw: match GNU printf enabled via _ISOC99_SOURCE, not ms_printf
|
||||||
#ifdef __MINGW_PRINTF_FORMAT
|
#ifdef __MINGW32__
|
||||||
#define PM3_PRINTF_FORMAT __MINGW_PRINTF_FORMAT
|
#define PM3_PRINTF_FORMAT gnu_printf
|
||||||
#else
|
#else
|
||||||
#define PM3_PRINTF_FORMAT printf
|
#define PM3_PRINTF_FORMAT printf
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user