Fix for Issue #1918

This commit is contained in:
c5dingb5y 2021-08-13 19:21:27 +09:00
parent 092435d51c
commit 3d620fbc42

View File

@ -256,8 +256,8 @@ PHYSACDEF Vector2 GetPhysicsShapeVertex(PhysicsBody body, int vertex);
#include <time.h> // Required for: time(), clock_gettime()
#if defined(_WIN32)
// Functions required to query time on Windows
int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount);
int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency);
PHYSACDEF int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount);
PHYSACDEF int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency);
#endif
#if defined(__linux__) || defined(__FreeBSD__)
#if _POSIX_C_SOURCE < 199309L