Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-07-13 17:51:33 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-08-15 11:56:56 +0300
commita6a477fa8190b13d4ef0150875e2bd114cb5b132 (patch)
tree0a4902cd997922c684b4ad4488f31eb2bde66f22 /winsup/cygwin/common.din
parent51b669f679119556a12798096794845cd1049d95 (diff)
POSIX-1.2008 per-thread locales, groundwork part 1
Introduce first cut of struct _thr_locale_t used for the locale_t definition. Introduce global instance called __global_locale used by default. Introduce internal inline functions __get_global_locale, __get_locale_r, __get_current_locale. Remove usage of global variables in favor of accessor functions pointing to __global_locale for now. Include all local headers in locale subdir from setlocale.h to get single include for internal locale access. Introduce __CTYPE_PTR macro to replace direct access to __ctype_ptr__ and use throughout in isxxx functions. Signed-off by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/common.din')
-rw-r--r--winsup/cygwin/common.din1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index d8df00e3d..acb3fabb9 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -68,6 +68,7 @@ __isinfd = isinf NOSIGFE
__isinff = isinff NOSIGFE
__isnand = isnan NOSIGFE
__isnanf = isnanf NOSIGFE
+__locale_ctype_ptr NOSIGFE
__locale_mb_cur_max NOSIGFE
__main NOSIGFE
__mempcpy = mempcpy NOSIGFE