This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]