mirror of https://github.com/BOINC/boinc.git
Update xlocale definitions also for gui_rpc_client.h
This commit is contained in:
parent
b023a1dba2
commit
4f11a3edd7
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue