Update xlocale definitions also for gui_rpc_client.h

This commit is contained in:
Gianfranco Costamagna 2017-09-08 09:59:41 +02:00
parent b023a1dba2
commit 4f11a3edd7
1 changed files with 2 additions and 0 deletions

View File

@ -809,7 +809,9 @@ struct RPC {
#elif defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4) #elif defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4)
// uselocale() is not available in OS 10.3.9 so use weak linking // uselocale() is not available in OS 10.3.9 so use weak linking
#if HAVE_XLOCALE_H
#include <xlocale.h> #include <xlocale.h>
#endif
extern int freelocale(locale_t) __attribute__((weak_import)); extern int freelocale(locale_t) __attribute__((weak_import));
extern locale_t newlocale(int, __const char *, locale_t) __attribute__((weak_import)); extern locale_t newlocale(int, __const char *, locale_t) __attribute__((weak_import));
extern locale_t uselocale(locale_t) __attribute__((weak_import)); extern locale_t uselocale(locale_t) __attribute__((weak_import));