about summary refs log tree commit diff
path: root/sysdeps/x86_64/bits
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-21 11:45:16 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-21 11:45:16 -0700
commit61f65140eb0fe350ef59aca95b89d784e30f24af (patch)
tree0396020982bab8e035dd798466a13e4174b3e9ee /sysdeps/x86_64/bits
parent5fefb43629b36b143c9ac100b89408a2cbeed3a8 (diff)
downloadglibc-61f65140eb0fe350ef59aca95b89d784e30f24af.tar.gz
glibc-61f65140eb0fe350ef59aca95b89d784e30f24af.tar.xz
glibc-61f65140eb0fe350ef59aca95b89d784e30f24af.zip
Define __SYSCALL_WORDSIZE for x86-64
Diffstat (limited to 'sysdeps/x86_64/bits')
-rw-r--r--sysdeps/x86_64/bits/wordsize.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/x86_64/bits/wordsize.h b/sysdeps/x86_64/bits/wordsize.h
index 9b38756fd5..e4d5fe71ef 100644
--- a/sysdeps/x86_64/bits/wordsize.h
+++ b/sysdeps/x86_64/bits/wordsize.h
@@ -6,3 +6,8 @@
 #else
 # define __WORDSIZE	32
 #endif
+
+#ifdef __x86_64__
+/* Both x86-64 and x32 use the 64-bit system call interface.  */
+# define __SYSCALL_WORDSIZE		64
+#endif