summaryrefslogtreecommitdiff
path: root/thread-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread-utils.c')
-rw-r--r--thread-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread-utils.c b/thread-utils.c
index 7f4b76a958..97396a75ae 100644
--- a/thread-utils.c
+++ b/thread-utils.c
@@ -24,7 +24,7 @@ int online_cpus(void)
long ncpus;
#endif
-#ifdef _WIN32
+#ifdef GIT_WINDOWS_NATIVE
SYSTEM_INFO info;
GetSystemInfo(&info);