Fix annoying warnings.

master
twetzel59 2017-05-16 15:18:25 -04:00
parent 7d4b5df964
commit 7a68bf63f9
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ freely, subject to the following restrictions:
#endif
/* Workaround for missing clock_gettime (most Windows compilers, afaik) */
struct timespec; /* Prevent warnings all platforms */
#if defined(_TTHREAD_WIN32_) || defined(__APPLE_CC__)
#define _TTHREAD_EMULATE_CLOCK_GETTIME_
/* Emulate struct timespec */