#include header for time() on Windows
This commit is contained in:
parent
03ee03e2a6
commit
520f317a75
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ PHYSACDEF void ClosePhysics(void);
|
|||
// Functions required to query time on Windows
|
||||
int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount);
|
||||
int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency);
|
||||
#include <time.h>
|
||||
#elif defined(__linux__)
|
||||
#if _POSIX_C_SOURCE < 199309L
|
||||
#undef _POSIX_C_SOURCE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue