summaryrefslogtreecommitdiff
path: root/src/utils/files.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-29 23:36:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-29 23:39:29 +0300
commit7f2484d82112851dbeba83afd18790a58b03599d (patch)
tree6449022bbae8a55825febc7b08e3d4095f1de64f /src/utils/files.h
parent24179041d619875bda96eb94307b1f3dd64e6add (diff)
downloadmanaplus-7f2484d82112851dbeba83afd18790a58b03599d.tar.gz
manaplus-7f2484d82112851dbeba83afd18790a58b03599d.tar.bz2
manaplus-7f2484d82112851dbeba83afd18790a58b03599d.tar.xz
manaplus-7f2484d82112851dbeba83afd18790a58b03599d.zip
Initial porting to NACL by Vasily_Makarov.
Diffstat (limited to 'src/utils/files.h')
-rw-r--r--src/utils/files.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utils/files.h b/src/utils/files.h
index bb9a6a11f..519b7f520 100644
--- a/src/utils/files.h
+++ b/src/utils/files.h
@@ -21,13 +21,14 @@
#ifndef UTILS_FILES_H
#define UTILS_FILES_H
-#ifdef ANDROID
+#if defined(ANDROID) || defined(__native_client__)
#include <string>
namespace Files
{
+#ifdef ANDROID
void extractLocale();
-
+#endif
void copyPhysFsFile(const std::string &inFile, const std::string &outFile);
void copyPhysFsDir(const std::string &inDir, const std::string &outDir);
@@ -36,5 +37,5 @@ namespace Files
const std::string &outDir);
} // namespace Files
-#endif // ANDROID
+#endif // ANDROID __native_client__
#endif // UTILS_FILES_H