From 1fef64b22811709b2e640d341237bce1c8081203 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 15 Feb 2005 01:27:10 +0000 Subject: headers for x86_64 --- libc/sysdeps/linux/x86_64/bits/wordsize.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libc/sysdeps/linux/x86_64/bits/wordsize.h (limited to 'libc/sysdeps/linux/x86_64/bits/wordsize.h') diff --git a/libc/sysdeps/linux/x86_64/bits/wordsize.h b/libc/sysdeps/linux/x86_64/bits/wordsize.h new file mode 100644 index 000000000..a40a0d816 --- /dev/null +++ b/libc/sysdeps/linux/x86_64/bits/wordsize.h @@ -0,0 +1,8 @@ +/* Determine the wordsize from the preprocessor defines. */ + +#if defined __x86_64__ +# define __WORDSIZE 64 +# define __WORDSIZE_COMPAT32 1 +#else +# define __WORDSIZE 32 +#endif -- cgit v1.2.3