diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-14 14:01:39 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-14 14:01:39 -0500 |
commit | c6d441e3a246370d9c459396ec22b096db93850e (patch) | |
tree | fa3d4a4ca03531ceab9e60abb50e37780fce60ed /arch/powerpc/bits/limits.h | |
parent | c4a35f8c2a4b1a7e62a4b9e5b2748fb4fbcace79 (diff) | |
parent | 1c8eb8bad791fe9d01d0d4ab77882db634fa933d (diff) | |
download | musl-c6d441e3a246370d9c459396ec22b096db93850e.tar.gz musl-c6d441e3a246370d9c459396ec22b096db93850e.tar.xz musl-c6d441e3a246370d9c459396ec22b096db93850e.zip |
Merge remote-tracking branch 'ppc-port/ppc-squashed'
Diffstat (limited to 'arch/powerpc/bits/limits.h')
-rw-r--r-- | arch/powerpc/bits/limits.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/bits/limits.h b/arch/powerpc/bits/limits.h new file mode 100644 index 00000000..e19461df --- /dev/null +++ b/arch/powerpc/bits/limits.h @@ -0,0 +1,8 @@ +#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +#define PAGE_SIZE 4096 +#define LONG_BIT 32 +#endif + +#define LONG_MAX 0x7fffffffL +#define LLONG_MAX 0x7fffffffffffffffLL |