]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use __errno_location in libm
authorFlorian Weimer <fweimer@redhat.com>
Thu, 10 May 2018 09:48:19 +0000 (11:48 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 10 May 2018 10:42:01 +0000 (12:42 +0200)
include/errno.h

index 3c3d2288c8bb2a8dab9f1b49e36b7e06463a3ff1..a296f0ad796d87a135ee3dd20431543e9c6f960d 100644 (file)
@@ -20,7 +20,7 @@
 #  define errno rtld_errno
 extern int rtld_errno attribute_hidden;
 
-# elif IS_IN_LIB
+# elif IS_IN_LIB && !IS_IN (libm)
 
 #  include <tls.h>