X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Flocale.h;h=351807f4e34b88617a30a40e774a5708c3852137;hb=e1c526e9bad3f6e69391e94059096145390508d3;hp=3ea5e650a62cf4b8b1c5bdcf059331063ba9c9cc;hpb=4aae47530548a518e59f2f67645ff1ec43294a0a;p=pdclib diff --git a/includes/locale.h b/includes/locale.h index 3ea5e65..351807f 100644 --- a/includes/locale.h +++ b/includes/locale.h @@ -1,5 +1,3 @@ -/* $Id$ */ - /* 7.11 Localization This file is part of the Public Domain C Library (PDCLib). @@ -109,6 +107,8 @@ typedef _PDCLIB_locale_t locale_t; extern struct _PDCLIB_locale _PDCLIB_global_locale; #define LC_GLOBAL_LOCALE (&_PDCLIB_global_locale) +#ifdef _PDCLIB_LOCALE_METHOD + locale_t newlocale(int category_mask, const char *locale, locale_t base); /* Set the thread locale to newlocale @@ -129,6 +129,7 @@ locale_t duplocale(locale_t loc); /* Frees the passed locale object */ void freelocale(locale_t loc); +#endif #endif