summaryrefslogtreecommitdiffstats
path: root/source/Globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Globals.h')
-rw-r--r--source/Globals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/Globals.h b/source/Globals.h
index 4816e2769..7d51bd52f 100644
--- a/source/Globals.h
+++ b/source/Globals.h
@@ -123,6 +123,12 @@ typedef short Int16;
#define USE_SQUIRREL
#endif
+#if defined(ANDROID_NDK)
+ #define FILE_IO_PREFIX "/sdcard/mcserver/"
+#else
+ #define FILE_IO_PREFIX ""
+#endif
+