Win32 compilation fixes

This commit is contained in:
Luca Deri
2015-11-26 23:47:55 +01:00
parent 98ef945d2e
commit cb68d4d00a
7 changed files with 51 additions and 15 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ typedef unsigned __int64 u_int64_t;
#define pthread_rwlock_unlock pthread_mutex_unlock
#define pthread_rwlock_destroy pthread_mutex_destroy
#define gmtime_r(a, b) gmtime(a) /* Already thread safe on windows */
#define gmtime_r(a, b) memcpy(b, gmtime(a), sizeof(struct tm))
extern unsigned long waitForNextEvent(unsigned long ulDelay /* ms */);