Commit c9c61e72c8a88feaed2f034f4ebdc1a00b16ba44

Con Kolivas 2013-08-28T07:05:18

Fix win32 build.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util.c b/util.c
index d9d8db0..f0e920f 100644
--- a/util.c
+++ b/util.c
@@ -1017,7 +1017,7 @@ void cgtimer_time(cgtimer_t *ts_start)
 	ts_start->tv_sec = mts.tv_sec;
 	ts_start->tv_nsec = mts.tv_nsec;
 }
-#else /* __MACH__ - Everything not linux/macosx/win32 */
+#elif !defined(WIN32) /* __MACH__ - Everything not linux/macosx/win32 */
 void cgtimer_time(cgtimer_t *ts_start)
 {
 	struct timeval tv;