aboutsummaryrefslogtreecommitdiff
path: root/src/common/cpucores.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-03-18 16:51:41 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-03-18 16:51:41 +0200
commit390e69887fc5e0a108eb41203bed9acd100a3d76 (patch)
tree194b00fba1ed125bb48032ff84807a1645fa1b5c /src/common/cpucores.h
parentTest for Linux-specific sysinfo() only on Linux systems. (diff)
downloadxz-390e69887fc5e0a108eb41203bed9acd100a3d76.tar.xz
Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
Thanks to Bert Wesarg.
Diffstat (limited to 'src/common/cpucores.h')
-rw-r--r--src/common/cpucores.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/cpucores.h b/src/common/cpucores.h
index 7e1a1438..1066a8e9 100644
--- a/src/common/cpucores.h
+++ b/src/common/cpucores.h
@@ -14,10 +14,10 @@
#ifndef CPUCORES_H
#define CPUCORES_H
-#if defined(HAVE_NCPU_SYSCONF)
+#if defined(HAVE_CPUCORES_SYSCONF)
# include <unistd.h>
-#elif defined(HAVE_NCPU_SYSCTL)
+#elif defined(HAVE_CPUCORES_SYSCTL)
# ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
# endif