diff options
Diffstat (limited to 'libs/tgl/src/tools.h')
-rw-r--r-- | libs/tgl/src/tools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/tgl/src/tools.h b/libs/tgl/src/tools.h index 9484e60bf1..1d37914fea 100644 --- a/libs/tgl/src/tools.h +++ b/libs/tgl/src/tools.h @@ -39,6 +39,7 @@ #define tasprintf tgl_asprintf
#define tsnprintf tgl_snprintf
+#if(_MSC_VER < 1900)
struct _timespec32
{
__time32_t tv_sec;
@@ -58,6 +59,7 @@ struct timespec long tv_nsec; // Nanoseconds - [0, 999999999]
};
#endif
+#endif
extern struct tgl_allocator *tgl_allocator;
double tglt_get_double_time (void);
|