diff options
Diffstat (limited to 'sysdeps/s390')
-rw-r--r-- | sysdeps/s390/s390-32/bits/wordsize.h (renamed from sysdeps/s390/bits/wordsize.h) | 0 | ||||
-rw-r--r-- | sysdeps/s390/s390-64/bits/wordsize.h | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/s390/bits/wordsize.h b/sysdeps/s390/s390-32/bits/wordsize.h index 4f50d8586c..4f50d8586c 100644 --- a/sysdeps/s390/bits/wordsize.h +++ b/sysdeps/s390/s390-32/bits/wordsize.h diff --git a/sysdeps/s390/s390-64/bits/wordsize.h b/sysdeps/s390/s390-64/bits/wordsize.h new file mode 100644 index 0000000000..4f50d8586c --- /dev/null +++ b/sysdeps/s390/s390-64/bits/wordsize.h @@ -0,0 +1,7 @@ +/* Determine the wordsize from the preprocessor defines. */ + +#if defined __s390x__ +# define __WORDSIZE 64 +#else +# define __WORDSIZE 32 +#endif |