Linux needs #include <time.h>?
/home/travis/build/bulletphysics/bullet3/src/LinearMath/btQuickprof.cpp:251:19: error: ‘CLOCK_REALTIME’ was not declared in this scope /home/travis/build/bulletphysics/bullet3/src/LinearMath/btQuickprof.cpp:251:37: error: ‘clock_gettime’ was not declared in this scope
This commit is contained in:
@@ -56,6 +56,7 @@
|
|||||||
|
|
||||||
#else //_WIN32
|
#else //_WIN32
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#include <time.h>
|
||||||
#endif //_WIN32
|
#endif //_WIN32
|
||||||
|
|
||||||
#define mymin(a,b) (a > b ? a : b)
|
#define mymin(a,b) (a > b ? a : b)
|
||||||
|
|||||||
Reference in New Issue
Block a user