This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
PATCH: Fix __WORDSIZE for ia64.
- From: "H. J. Lu" <hjl at lucon dot org>
- To: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Thu, 31 Jul 2003 15:21:34 -0700
- Subject: PATCH: Fix __WORDSIZE for ia64.
IA64 also needs wordsize.h like x86_64.
H.J.
---
2003-07-31 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/ia64/bits/wordsize.h: New.
--- sysdeps/ia64/bits/wordsize.h.ia64 2003-07-31 15:17:44.000000000 -0700
+++ sysdeps/ia64/bits/wordsize.h 2003-07-31 15:18:20.000000000 -0700
@@ -0,0 +1,8 @@
+/* Determine the wordsize from the preprocessor defines. */
+
+#if defined __ia64__
+# define __WORDSIZE 64
+# define __WORDSIZE_COMPAT32 1
+#else
+# define __WORDSIZE 32
+#endif