summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kit/kit_test.h2
-rw-r--r--source/kit/time.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/kit/kit_test.h b/source/kit/kit_test.h
index b6f43a6..8daa50e 100644
--- a/source/kit/kit_test.h
+++ b/source/kit/kit_test.h
@@ -300,7 +300,7 @@ int kit_run_benchmarks(int argc, char **argv);
# define TIME_UTC 1
# endif
-# ifdef __MINGW32__
+# ifdef KIT_REQUIRE_TIMESPEC_GET
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN 1
# endif
diff --git a/source/kit/time.h b/source/kit/time.h
index b1816b0..c14f8ff 100644
--- a/source/kit/time.h
+++ b/source/kit/time.h
@@ -15,7 +15,7 @@ extern "C" {
# define TIME_UTC 1
#endif
-#ifdef __MINGW32__
+#ifdef KIT_REQUIRE_TIMESPEC_GET
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN 1
# endif