Update.
authorAndreas Jaeger <aj@suse.de>
Sun, 3 Mar 2002 19:45:53 +0000 (19:45 +0000)
committerAndreas Jaeger <aj@suse.de>
Sun, 3 Mar 2002 19:45:53 +0000 (19:45 +0000)
* sysdeps/x86_64/bits/wordsize.h: New file.

ChangeLog
sysdeps/x86_64/bits/wordsize.h [new file with mode: 0644]

index c266b02..a350421 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2002-03-03  Andreas Jaeger  <aj@suse.de>
 
+       * sysdeps/x86_64/bits/wordsize.h: New file.
+
        * elf/nodlopenmod2.c: Provide prototype to avoid warning.
        * elf/tst-tlsmod1.c: Likewise.
 
diff --git a/sysdeps/x86_64/bits/wordsize.h b/sysdeps/x86_64/bits/wordsize.h
new file mode 100644 (file)
index 0000000..e96a9f1
--- /dev/null
@@ -0,0 +1,7 @@
+/* Determine the wordsize from the preprocessor defines.  */
+
+#if defined __x86_64__
+# define __WORDSIZE    64
+#else
+# define __WORDSIZE    32
+#endif