Make sure not to re-define __STDC_FORMAT_MACROS.
authorLindley French <lindleyf@google.com>
Fri, 31 Jul 2015 00:33:11 +0000 (17:33 -0700)
committerLindley French <lindleyf@google.com>
Fri, 31 Jul 2015 00:33:11 +0000 (17:33 -0700)
src/build_log.cc

index 281b851..589c6da 100644 (file)
@@ -19,7 +19,9 @@
 #include <string.h>
 
 #ifndef _WIN32
+#ifndef __STDC_FORMAT_MACROS
 #define __STDC_FORMAT_MACROS
+#endif
 #include <inttypes.h>
 #include <unistd.h>
 #endif