aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <rafael.espindola@gmail.com>2011-12-21 13:27:09 -0800
committerRoland McGrath <roland@hack.frob.com>2011-12-21 13:27:09 -0800
commitd2daaa1eb6deaa17f6c9bc110cf7d927d8dcd767 (patch)
tree1faccc4518a3f0b85d99389e73a4e99f4e9851a5
parenta4647e727a2a52e1259474c13f4b13288938bed4 (diff)
downloadglibc-d2daaa1eb6deaa17f6c9bc110cf7d927d8dcd767.zip
glibc-d2daaa1eb6deaa17f6c9bc110cf7d927d8dcd767.tar.gz
glibc-d2daaa1eb6deaa17f6c9bc110cf7d927d8dcd767.tar.bz2
Define x86_64 feraiseexcept inline only under __USE_EXTERN_INLINES.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/x86_64/fpu/bits/fenv.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ddadd5..58f582c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+ * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
+ under [__USE_EXTERN_INLINES].
+
2011-12-17 Ulrich Drepper <drepper@gmail.com>
[BZ #13446]
diff --git a/sysdeps/x86_64/fpu/bits/fenv.h b/sysdeps/x86_64/fpu/bits/fenv.h
index 4af1643..d73859c 100644
--- a/sysdeps/x86_64/fpu/bits/fenv.h
+++ b/sysdeps/x86_64/fpu/bits/fenv.h
@@ -97,7 +97,7 @@ fenv_t;
#endif
-#ifdef __OPTIMIZE__
+#ifdef __USE_EXTERN_INLINES
__BEGIN_DECLS
/* Optimized versions. */