mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 11:43:34 +08:00
* 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.
This commit is contained in:
parent
bde40c2f9a
commit
cfbc71d7dd
@ -1,3 +1,9 @@
|
||||
2002-11-01 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2002-10-31 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
|
||||
|
@ -21,13 +21,15 @@
|
||||
#include <errno.h>
|
||||
#include <tls.h>
|
||||
|
||||
#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;
|
||||
|
Loading…
Reference in New Issue
Block a user