We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 455604b + 778ae35 commit c6b3ce3Copy full SHA for c6b3ce3
1 file changed
include/retro_common_api.h
@@ -89,7 +89,9 @@ typedef int ssize_t;
89
/* C++11 says this one isn't needed, but apparently (some versions of) mingw require it anyways */
90
/* https://stackoverflow.com/questions/8132399/how-to-printf-uint64-t-fails-with-spurious-trailing-in-format */
91
/* https://github.com/libretro/RetroArch/issues/6009 */
92
-#define __STDC_FORMAT_MACROS
+#ifndef __STDC_FORMAT_MACROS
93
+#define __STDC_FORMAT_MACROS 1
94
+#endif
95
#include <inttypes.h>
96
#endif
97
#ifndef PRId64
0 commit comments