about summary refs log tree commit diff
path: root/sysdeps/x86_64/bits
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-03-03 19:45:53 +0000
committerAndreas Jaeger <aj@suse.de>2002-03-03 19:45:53 +0000
commita06bb7ce8829e123c996c50302b557af803bd1de (patch)
treed993d5f3dc43aaad6a6b5f6d1ff188a56b7402d9 /sysdeps/x86_64/bits
parent37de950b40cc5dd494f130e31622fa3d8a0889cb (diff)
downloadglibc-a06bb7ce8829e123c996c50302b557af803bd1de.tar.gz
glibc-a06bb7ce8829e123c996c50302b557af803bd1de.tar.xz
glibc-a06bb7ce8829e123c996c50302b557af803bd1de.zip
Update.
	* sysdeps/x86_64/bits/wordsize.h: New file.
Diffstat (limited to 'sysdeps/x86_64/bits')
-rw-r--r--sysdeps/x86_64/bits/wordsize.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/x86_64/bits/wordsize.h b/sysdeps/x86_64/bits/wordsize.h
new file mode 100644
index 0000000000..e96a9f1add
--- /dev/null
+++ b/sysdeps/x86_64/bits/wordsize.h
@@ -0,0 +1,7 @@
+/* Determine the wordsize from the preprocessor defines.  */
+
+#if defined __x86_64__
+# define __WORDSIZE	64
+#else
+# define __WORDSIZE	32
+#endif