summaryrefslogtreecommitdiffstats
path: root/libutils/StopWatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libutils/StopWatch.cpp')
-rw-r--r--libutils/StopWatch.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libutils/StopWatch.cpp b/libutils/StopWatch.cpp
index b1708d6..8c7b596 100644
--- a/libutils/StopWatch.cpp
+++ b/libutils/StopWatch.cpp
@@ -21,7 +21,9 @@
#include <stdio.h>
/* for PRId64 */
+#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
+#endif
#include <inttypes.h>
#include <utils/Log.h>