diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-01 20:39:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-01 20:39:27 +0300 |
commit | 2c94af91ffb0907dab1c2ea30b7dcd2c850a307b (patch) | |
tree | 5970028b6bc2f26d30e81a2259bc32cf62e70780 /src | |
parent | b3a84191aba47134a45a5ea36efe1d2e662521d5 (diff) | |
download | manaplus-1.8.9.1.tar.gz manaplus-1.8.9.1.tar.bz2 manaplus-1.8.9.1.tar.xz manaplus-1.8.9.1.zip |
Fix compilation with NaCl.v1.8.9.1
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/paths.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/paths.cpp b/src/fs/paths.cpp index c13bdd966..8fb57330d 100644 --- a/src/fs/paths.cpp +++ b/src/fs/paths.cpp @@ -67,6 +67,12 @@ PRAGMA48(GCC diagnostic ignored "-Wshadow") #endif // ANDROID PRAGMA48(GCC diagnostic pop) +#ifdef __native_client__ +#ifndef SSIZE_MAX +#define SSIZE_MAX INT_MAX +#endif +#endif // __native_client__ + #include "debug.h" namespace |