summaryrefslogtreecommitdiff
path: root/functable.c
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2020-08-15 20:45:41 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-08-20 12:05:11 +0200
commitd8aeacbfa285556fccef8f01af68bf02f1e671b0 (patch)
tree4de4362915bb799f88d4da1e2c17cb88fbd05eb9 /functable.c
parent9fccbde10c91295a74df6363b4e08259b0d855f0 (diff)
Harmonize the CPU architecture preprocessor definitions.
Diffstat (limited to 'functable.c')
-rw-r--r--functable.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/functable.c b/functable.c
index cc1f070..1d43551 100644
--- a/functable.c
+++ b/functable.c
@@ -10,7 +10,7 @@
#include "functable.h"
-#ifdef X86_CPUID
+#ifdef X86_FEATURES
# include "fallback_builtins.h"
#endif
@@ -133,11 +133,11 @@ ZLIB_INTERNAL void cpu_check_features(void)
static int features_checked = 0;
if (features_checked)
return;
-#ifdef X86_CPUID
+#if defined(X86_FEATURES)
x86_check_features();
-#elif ARM_CPUID
+#elif defined(ARM_FEATURES)
arm_check_features();
-#elif POWER_FEATURES
+#elif defined(POWER_FEATURES)
power_check_features();
#endif
features_checked = 1;