summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/hppa/bits/wordsize.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-12 01:10:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-12 01:10:24 +0000
commit38545a368ca50c8c24e5adae349bcbcae2065132 (patch)
tree81eaac7b3d99330be800ab8ae97dee28f2c9b49b /libc/sysdeps/linux/hppa/bits/wordsize.h
parent63f4057c6726e42960439780675ad165cecc9f75 (diff)
initial port to hppa
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