PATCH: Fix __WORDSIZE for ia64.

H. J. Lu hjl@lucon.org
Thu Jul 31 22:21:00 GMT 2003


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



More information about the Libc-alpha mailing list