mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-13 07:17:28 +00:00
[common/client] platform: make timing waits portable
This commit is contained in:
@@ -615,7 +615,7 @@ bool app_init(void)
|
||||
if (ods && !ods_start())
|
||||
DEBUG_WARN("Failed to setup capture of debug messages");
|
||||
|
||||
windowsSetTimerResolution();
|
||||
lgTimeInit();
|
||||
|
||||
// get the performance frequency for spinlocks
|
||||
QueryPerformanceFrequency(&app.perfFreq);
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <math.h>
|
||||
|
||||
#define CONFIG_FILE "looking-glass-host.ini"
|
||||
|
||||
Reference in New Issue
Block a user