Skip to content

Commit

Permalink
Locale support (used in xlm2/trio.c) does not work with android-ndk-r…
Browse files Browse the repository at this point in the history
…8b (patch by Alex Wulms)
  • Loading branch information
pelya committed Nov 25, 2012
1 parent 02d7abe commit 61cf0e1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions project/jni/xml2/trio.c
Expand Up @@ -137,8 +137,11 @@ typedef unsigned long trio_flags_t;
#if defined(TRIO_PLATFORM_UNIX)
# include <unistd.h>
# include <signal.h>
# include <locale.h>
# define USE_LOCALE
/* locale implementation on Android is broken, at least with NDK 8b */
# if !defined ANDROID
# include <locale.h>
# define USE_LOCALE
# endif
#endif /* TRIO_PLATFORM_UNIX */
#if defined(TRIO_PLATFORM_VMS)
# include <unistd.h>
Expand Down

0 comments on commit 61cf0e1

Please sign in to comment.