Fixed compiler flags in libintl
This commit is contained in:
@@ -30,6 +30,5 @@ CustomBuildScript=n
|
|||||||
AppCflags='-O2 -finline-functions'
|
AppCflags='-O2 -finline-functions'
|
||||||
AppLdflags=''
|
AppLdflags=''
|
||||||
AppSubdirsBuild=''
|
AppSubdirsBuild=''
|
||||||
AppUseCrystaXToolchain=n
|
|
||||||
AppCmdline=''
|
AppCmdline=''
|
||||||
ReadmeText='^'
|
ReadmeText='^'
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
ballfield
|
ufoai
|
||||||
@@ -427,13 +427,13 @@ extern int vswprintf (wchar_t *, size_t, const wchar_t *, va_list);
|
|||||||
|
|
||||||
|
|
||||||
/* Support for the locale chosen by the user. */
|
/* Support for the locale chosen by the user. */
|
||||||
#if (defined __APPLE__ && defined __MACH__) || defined _WIN32 || defined __WIN32__ || defined __CYGWIN__
|
#if (defined __APPLE__ && defined __MACH__) || defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined ANDROID
|
||||||
|
|
||||||
#undef setlocale
|
#undef setlocale
|
||||||
#define setlocale libintl_setlocale
|
#define setlocale libintl_setlocale
|
||||||
extern char *setlocale (int, const char *);
|
extern char *setlocale (int, const char *);
|
||||||
|
|
||||||
#if 1
|
#if !defined ANDROID
|
||||||
|
|
||||||
#undef newlocale
|
#undef newlocale
|
||||||
#define newlocale libintl_newlocale
|
#define newlocale libintl_newlocale
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
|
/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
|
||||||
and handles trailing slash correctly. */
|
and handles trailing slash correctly. */
|
||||||
/* #undef FUNC_REALPATH_WORKS */
|
#define FUNC_REALPATH_WORKS 1
|
||||||
|
|
||||||
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
|
||||||
whether the gnulib module canonicalize-lgpl shall be considered present. */
|
whether the gnulib module canonicalize-lgpl shall be considered present. */
|
||||||
@@ -784,7 +784,7 @@
|
|||||||
#define HAVE_SETENV 1
|
#define HAVE_SETENV 1
|
||||||
|
|
||||||
/* Define to 1 if you have the `setlocale' function. */
|
/* Define to 1 if you have the `setlocale' function. */
|
||||||
/* #define HAVE_SETLOCALE 1 */
|
#define HAVE_SETLOCALE 1
|
||||||
|
|
||||||
/* Define to 1 if you have the <signal.h> header file. */
|
/* Define to 1 if you have the <signal.h> header file. */
|
||||||
#define HAVE_SIGNAL_H 1
|
#define HAVE_SIGNAL_H 1
|
||||||
|
|||||||
@@ -433,13 +433,13 @@ extern LIBINTL_DLL_EXPORTED int vswprintf (wchar_t *, size_t, const wchar_t *, v
|
|||||||
|
|
||||||
|
|
||||||
/* Support for the locale chosen by the user. */
|
/* Support for the locale chosen by the user. */
|
||||||
#if (defined __APPLE__ && defined __MACH__) || defined _WIN32 || defined __WIN32__ || defined __CYGWIN__
|
#if (defined __APPLE__ && defined __MACH__) || defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined ANDROID
|
||||||
|
|
||||||
#undef setlocale
|
#undef setlocale
|
||||||
#define setlocale libintl_setlocale
|
#define setlocale libintl_setlocale
|
||||||
extern LIBINTL_DLL_EXPORTED char *setlocale (int, const char *);
|
extern LIBINTL_DLL_EXPORTED char *setlocale (int, const char *);
|
||||||
|
|
||||||
#if 1
|
#if !defined ANDROID
|
||||||
|
|
||||||
#undef newlocale
|
#undef newlocale
|
||||||
#define newlocale libintl_newlocale
|
#define newlocale libintl_newlocale
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
#include "gettextP.h"
|
#include "gettextP.h"
|
||||||
|
|
||||||
#if (defined __APPLE__ && defined __MACH__) || defined _WIN32 || defined __WIN32__ || defined __CYGWIN__
|
#if (defined __APPLE__ && defined __MACH__) || defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined ANDROID
|
||||||
|
|
||||||
# undef setlocale
|
# undef setlocale
|
||||||
# undef newlocale
|
# undef newlocale
|
||||||
|
|||||||
Reference in New Issue
Block a user