From 018aa08bf8296a74d58cae020fd8f22aed2fcc20 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Mon, 26 Dec 2016 22:55:28 -0800 Subject: [PATCH] suppress Linux error related to PRIu64/__STDC_FORMAT_MACROS --- examples/ExampleBrowser/OpenGLExampleBrowser.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/ExampleBrowser/OpenGLExampleBrowser.cpp b/examples/ExampleBrowser/OpenGLExampleBrowser.cpp index 78d1860e6..ff1b9588a 100644 --- a/examples/ExampleBrowser/OpenGLExampleBrowser.cpp +++ b/examples/ExampleBrowser/OpenGLExampleBrowser.cpp @@ -159,6 +159,9 @@ struct btTiming }; FILE* gTimingFile = 0; +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif //__STDC_FORMAT_MACROS #include #define BT_TIMING_CAPACITY 65536 static bool m_firstTiming = true;