aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib.c
diff options
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index f7fdac96..a4791da8 100644
--- a/lib.c
+++ b/lib.c
@@ -280,7 +280,7 @@ static enum { STANDARD_C89,
#define ARCH_LP64 1
#define ARCH_LLP64 2
-#ifdef __x86_64__
+#ifdef __LP64__
#define ARCH_M64_DEFAULT ARCH_LP64
#else
#define ARCH_M64_DEFAULT ARCH_LP32