diff options
author | Richard Pennington <rich@pennware.com> | 2012-11-09 23:32:57 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-11-13 18:15:10 +0100 |
commit | 7669d1e334e6b96455eece78da43bf830b93d697 (patch) | |
tree | 6649acfaa61ec6780498b55fa8015ca4f7a6cdae /arch/ppc/bits/limits.h | |
parent | 1e717ea3d2a864e00e507f1a70a892c551955f1b (diff) | |
download | musl-7669d1e334e6b96455eece78da43bf830b93d697.tar.gz |
import preliminary ppc work by rdp.
Diffstat (limited to 'arch/ppc/bits/limits.h')
-rw-r--r-- | arch/ppc/bits/limits.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/ppc/bits/limits.h b/arch/ppc/bits/limits.h new file mode 100644 index 00000000..e19461df --- /dev/null +++ b/arch/ppc/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 |