Fix for Issue #1918
This commit is contained in:
parent
092435d51c
commit
3d620fbc42
|
|
@ -256,8 +256,8 @@ PHYSACDEF Vector2 GetPhysicsShapeVertex(PhysicsBody body, int vertex);
|
||||||
#include <time.h> // Required for: time(), clock_gettime()
|
#include <time.h> // Required for: time(), clock_gettime()
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
// Functions required to query time on Windows
|
// Functions required to query time on Windows
|
||||||
int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount);
|
PHYSACDEF int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount);
|
||||||
int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency);
|
PHYSACDEF int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency);
|
||||||
#endif
|
#endif
|
||||||
#if defined(__linux__) || defined(__FreeBSD__)
|
#if defined(__linux__) || defined(__FreeBSD__)
|
||||||
#if _POSIX_C_SOURCE < 199309L
|
#if _POSIX_C_SOURCE < 199309L
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user