Skip to content

Commit e05fede

Browse files
authored
Merge pull request microsoft#1520 from sighingnow/ht/std_format_macro
Define __STDC_FORMAT_MACROS when it hasn't been defined to avoid duplicate define error.
2 parents cfc6efe + 6ed6d67 commit e05fede

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Release/src/json/json_serialization.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
#include <stdio.h>
1717

1818
#ifndef _WIN32
19+
#ifndef __STDC_FORMAT_MACROS
1920
#define __STDC_FORMAT_MACROS
21+
#endif
2022
#include <inttypes.h>
2123
#endif
2224

0 commit comments

Comments
 (0)