Arm64: localcharset.c.patch

File localcharset.c.patch, 670 bytes (added by hypoon, 4 years ago)

Edit to make libiconv 1.14 compile

  • libcharset/lib/localcharset.c

    old new  
    4545# endif
    4646#endif
    4747
    48 #if !defined WIN32_NATIVE
     48#if !defined(WIN32_NATIVE) && !defined(__ANDROID__)
    4949# include <unistd.h>
    5050# if HAVE_LANGINFO_CODESET
    5151#  include <langinfo.h>
    locale_charset (void) 
    361361  const char *codeset;
    362362  const char *aliases;
    363363
    364 #if !(defined WIN32_NATIVE || defined OS2)
    365 
     364#if !(defined WIN32_NATIVE || defined OS2 || defined __ANDROID__)
    366365# if HAVE_LANGINFO_CODESET
    367366
    368367  /* Most systems support nl_langinfo (CODESET) nowadays.  */