summaryrefslogtreecommitdiff
path: root/proto/x11proto/Xmd.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-04-28 16:53:27 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-04-28 16:53:27 +0000
commit53ebe6270c1b1d9bddca8f89386433f823c784a9 (patch)
tree9c3181be2bebad8b85c6f52b46d2b196b51e79fd /proto/x11proto/Xmd.h
parent5634736e3a8dbfeb02c82d858fa6e9348c7ac7ef (diff)
Update to xproto 7.0.24
Diffstat (limited to 'proto/x11proto/Xmd.h')
-rw-r--r--proto/x11proto/Xmd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/proto/x11proto/Xmd.h b/proto/x11proto/Xmd.h
index f3868b36d..96cc08ffd 100644
--- a/proto/x11proto/Xmd.h
+++ b/proto/x11proto/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
/*