about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-05-10 11:48:19 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-05-10 12:42:01 +0200
commit9e9dccb635991aa70187253bc188c87d3e139ed0 (patch)
tree9601cec242725c994516a8bfbb8ce44aa3454942
parent623f4aef132ad0412fb546324a7b7adb769309fd (diff)
downloadglibc-9e9dccb635991aa70187253bc188c87d3e139ed0.tar.gz
glibc-9e9dccb635991aa70187253bc188c87d3e139ed0.tar.xz
glibc-9e9dccb635991aa70187253bc188c87d3e139ed0.zip
Use __errno_location in libm
-rw-r--r--include/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h
index 3c3d2288c8..a296f0ad79 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -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>