summaryrefslogtreecommitdiff
path: root/src/build_log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index 281b851..589c6da 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -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