|
|
@ -148,8 +148,9 @@ float GetGesturePinchAngle(void); // Get gesture pinch ang |
|
|
|
int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount); |
|
|
|
int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency); |
|
|
|
#elif defined(__linux__) |
|
|
|
#include <sys/time.h> // Required for: timespec |
|
|
|
#include <time.h> // Required for: clock_gettime() |
|
|
|
#define _POSIX_C_SOURCE 199309L // Required for CLOCK_MONOTONIC if compiled with c99 without gnu ext. |
|
|
|
#include <sys/time.h> // Required for: timespec |
|
|
|
#include <time.h> // Required for: clock_gettime() |
|
|
|
#endif |
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------- |
|
|
|