summaryrefslogtreecommitdiff
path: root/src/utils/files.h
diff options
context:
space:
mode:
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