aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/preconfigure.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/preconfigure.in')
-rw-r--r--sysdeps/x86_64/preconfigure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/preconfigure.in b/sysdeps/x86_64/preconfigure.in
index 1f049c7a04..600700ea1a 100644
--- a/sysdeps/x86_64/preconfigure.in
+++ b/sysdeps/x86_64/preconfigure.in
@@ -8,7 +8,7 @@ x86_64)
AC_CACHE_CHECK(whether $CC compiles in -mx32 mode by default,
libc_cv_x32, [dnl
AC_TRY_COMPILE(dnl
-[#ifdef __LP64__
+[#ifndef __ILP32__
# error not x32
#endif], [], libc_cv_x32=yes, libc_cv_x32=no)])
if test $libc_cv_x32 = yes; then