diff --git a/src/LinearMath/btQuickprof.h b/src/LinearMath/btQuickprof.h index eafd0a0eb..dbc7a46b8 100644 --- a/src/LinearMath/btQuickprof.h +++ b/src/LinearMath/btQuickprof.h @@ -22,7 +22,10 @@ subject to the following restrictions: #ifndef QUICK_PROF_H #define QUICK_PROF_H +//if you don't need btClock, you can comment next line +#define USE_BT_CLOCK 1 +#ifdef USE_BT_CLOCK #ifdef __PPU__ #include #include @@ -34,7 +37,12 @@ typedef uint64_t __int64; #endif #if defined(WIN32) || defined(_WIN32) - #define USE_WINDOWS_TIMERS + + #define USE_WINDOWS_TIMERS + #define WIN32_LEAN_AND_MEAN + #define NOWINRES + #define NOMCX + #define NOIME #include #include #else @@ -213,6 +221,8 @@ class btClock }; +#endif //USE_BT_CLOCK + //#define USE_QUICKPROF 1 //Don't use quickprof for now, because it contains STL. TODO: replace STL by Bullet container classes.