summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/clock_gettime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/clock_gettime.h b/src/lib/clock_gettime.h
index 43c3395a4..8860e717b 100644
--- a/src/lib/clock_gettime.h
+++ b/src/lib/clock_gettime.h
@@ -30,7 +30,7 @@
/* otherwise, we have to define it */
-#if defined(__WIN32__) && !defined(__WIN64__)
+#if defined(__WIN32__) && !defined(_W64)
#ifdef __cplusplus
extern "C" {
@@ -45,12 +45,12 @@ struct timespec {
}/* extern "C" */
#endif /* __cplusplus */
-#else /* !__WIN32__ || __WIN64__ */
+#else /* !__WIN32__ || _W64 */
/* get timespec from <time.h> */
#include <time.h>
-#endif /* __WIN32__ && !__WIN64__ */
+#endif /* __WIN32__ && !_W64 */
#ifdef __cplusplus
extern "C" {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback