summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/unix/CPP/myWindows/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/7zip/unix/CPP/myWindows/config.h')
-rw-r--r--src/libs/7zip/unix/CPP/myWindows/config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/7zip/unix/CPP/myWindows/config.h b/src/libs/7zip/unix/CPP/myWindows/config.h
index 54332aad0..ee7d11882 100644
--- a/src/libs/7zip/unix/CPP/myWindows/config.h
+++ b/src/libs/7zip/unix/CPP/myWindows/config.h
@@ -24,14 +24,14 @@
#endif /* !ENV_MACOSX && !ENV_BEOS */
- #if !defined(ENV_BEOS)
+ #if !defined(ENV_BEOS) && !defined(ANDROID_NDK)
+
#define ENV_HAVE_GETPASS
#if !defined(sun)
#define ENV_HAVE_TIMEGM
#endif
-
#endif
/* lstat, readlink and S_ISLNK */
@@ -52,7 +52,8 @@
#define ENV_HAVE_PTHREAD
#endif
-#if defined(ENV_MACOSX)
+/* ANDROID don't have wcstombs or mbstowcs ? */
+#if defined(ENV_MACOSX) || defined(ANDROID_NDK)
#define LOCALE_IS_UTF8
#endif