summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/hppa/bits/wordsize.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/hppa/bits/wordsize.h')
-rw-r--r--libc/sysdeps/linux/hppa/bits/wordsize.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/hppa/bits/wordsize.h b/libc/sysdeps/linux/hppa/bits/wordsize.h
new file mode 100644
index 000000000..951e83893
--- /dev/null
+++ b/libc/sysdeps/linux/hppa/bits/wordsize.h
@@ -0,0 +1,7 @@
+/* Determine the wordsize from the preprocessor defines. */
+
+#ifdef __LP64__
+# define __WORDSIZE 64
+#else
+# define __WORDSIZE 32
+#endif