aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-07 18:20:36 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-07 18:20:36 +0000
commitb72a1aa920f3a62e51bb553d4d569ab3800a2c85 (patch)
tree2ba201c83e27de5185287cc6f2137d4a3008c6b7 /sysdeps
parentb8f7c6f761f47c68d757a211505827020c71c4f9 (diff)
downloadglibc-b72a1aa920f3a62e51bb553d4d569ab3800a2c85.tar.xz
glibc-b72a1aa920f3a62e51bb553d4d569ab3800a2c85.zip
Honour __NO_MATH_INLINES.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/alpha/fpu/bits/mathinline.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/alpha/fpu/bits/mathinline.h b/sysdeps/alpha/fpu/bits/mathinline.h
index 065009c626..b7d5c3c95e 100644
--- a/sysdeps/alpha/fpu/bits/mathinline.h
+++ b/sysdeps/alpha/fpu/bits/mathinline.h
@@ -1,5 +1,5 @@
/* Inline math functions for Alpha.
- Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Mosberger-Tang.
@@ -58,6 +58,8 @@
!isunordered(__x, __y) && __x != __y; }))
#endif /* ISO C99 */
+#if !defined __NO_MATH_INLINES && defined __OPTIMIZE__
+
#define __inline_copysign(NAME, TYPE) \
__MATH_INLINE TYPE \
NAME (TYPE __x, TYPE __y) __THROW \
@@ -174,4 +176,6 @@ __MATH_INLINE double fdim (double __x, double __y) __THROW
return __x < __y ? 0.0 : __x - __y;
}
-#endif
+#endif /* C99 */
+
+#endif /* __NO_MATH_INLINES */