Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
stash: require a clean index to apply
[gitweb.git]
/
thread-utils.h
diff --git
a/thread-utils.h
b/thread-utils.h
index 6fb98c333c22a67512516bbf047c2cac270a66ae..d9a769d19084587b397c50e9420843be38e89903 100644
(file)
--- a/
thread-utils.h
+++ b/
thread-utils.h
@@
-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 */