summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-01 20:39:27 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-01 20:39:27 +0300
commit2c94af91ffb0907dab1c2ea30b7dcd2c850a307b (patch)
tree5970028b6bc2f26d30e81a2259bc32cf62e70780 /src
parentb3a84191aba47134a45a5ea36efe1d2e662521d5 (diff)
downloadManaVerse-2c94af91ffb0907dab1c2ea30b7dcd2c850a307b.tar.gz
ManaVerse-2c94af91ffb0907dab1c2ea30b7dcd2c850a307b.tar.bz2
ManaVerse-2c94af91ffb0907dab1c2ea30b7dcd2c850a307b.tar.xz
ManaVerse-2c94af91ffb0907dab1c2ea30b7dcd2c850a307b.zip
Fix compilation with NaCl.v1.8.9.1
Diffstat (limited to 'src')
-rw-r--r--src/fs/paths.cpp6
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