about summary refs log tree commit diff
path: root/sysdeps/x86_64/bits/wordsize.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/bits/wordsize.h')
-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