aboutsummaryrefslogtreecommitdiff
path: root/X11/Xmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'X11/Xmd.h')
-rw-r--r--X11/Xmd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/X11/Xmd.h b/X11/Xmd.h
index f3868b36d..96cc08ffd 100644
--- a/X11/Xmd.h
+++ b/X11/Xmd.h
@@ -64,7 +64,9 @@ SOFTWARE.
defined(__s390x__) || \
defined(__amd64__) || defined(amd64) || \
defined(__powerpc64__)
-# define LONG64 /* 32/64-bit architecture */
+# if !defined(__ILP32__) /* amd64-x32 is 32bit */
+# define LONG64 /* 32/64-bit architecture */
+# endif /* !__ILP32__ */
# endif
/*