Merge branch 'jk/read-packed-refs-without-path-max'
[gitweb.git] / thread-utils.h
index 6fb98c333c22a67512516bbf047c2cac270a66ae..d9a769d19084587b397c50e9420843be38e89903 100644 (file)
@@ -7,5 +7,9 @@
 extern int online_cpus(void);
 extern int init_recursive_mutex(pthread_mutex_t*);
 
+#else
+
+#define online_cpus() 1
+
 #endif
 #endif /* THREAD_COMPAT_H */