index-pack: correct --keep[=<msg>]
[gitweb.git] / thread-utils.c
index 589f838f82b568195232ea81346d0049261b86b1..97396a75ae4fc3f118750dd687fba85e3fc526cc 100644 (file)
@@ -1,5 +1,5 @@
 #include "cache.h"
-#include <pthread.h>
+#include "thread-utils.h"
 
 #if defined(hpux) || defined(__hpux) || defined(_hpux)
 #  include <sys/pstat.h>
@@ -24,7 +24,7 @@ int online_cpus(void)
        long ncpus;
 #endif
 
-#ifdef _WIN32
+#ifdef GIT_WINDOWS_NATIVE
        SYSTEM_INFO info;
        GetSystemInfo(&info);