From: roland Date: Sat, 2 Nov 2002 01:53:37 +0000 (+0000) Subject: 2002-11-01 Roland McGrath X-Git-Tag: initial~307 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=51d2979b600e0027a41c53e2c3744b6df854ac5c 2002-11-01 Roland McGrath * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional in place of [!(USE_TLS && HAVE___THREAD)]. (__errno_location) [! USE___THREAD]: Define as strong, not weak. --- diff --git a/sysdeps/generic/errno-loc.c b/sysdeps/generic/errno-loc.c index 032b48306c..8332a46ad7 100644 --- a/sysdeps/generic/errno-loc.c +++ b/sysdeps/generic/errno-loc.c @@ -21,13 +21,15 @@ #include #include -#if !(USE_TLS && HAVE___THREAD) +#if ! USE___THREAD #undef errno extern int errno; #endif int * +#if ! USE___THREAD weak_const_function +#endif __errno_location (void) { return &errno;