aboutsummaryrefslogtreecommitdiff
path: root/math/tgmath.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-07 10:00:04 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-07 10:00:04 +0000
commit26644e876ed70e2616f3ce74f401a6ead381b5a7 (patch)
treeeb1802f7bee9c1d71d77cde1a44316f63ebed36b /math/tgmath.h
parent2b33e5b0ff6caa9d5cb9fa169abefa6f07a6d9cf (diff)
downloadglibc-26644e876ed70e2616f3ce74f401a6ead381b5a7.zip
glibc-26644e876ed70e2616f3ce74f401a6ead381b5a7.tar.gz
glibc-26644e876ed70e2616f3ce74f401a6ead381b5a7.tar.bz2
Update.
1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com> * math/tgmath.h (scalb): Only define for __USE_MISC or __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
Diffstat (limited to 'math/tgmath.h')
-rw-r--r--math/tgmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/tgmath.h b/math/tgmath.h
index 307a124..b95d55b 100644
--- a/math/tgmath.h
+++ b/math/tgmath.h
@@ -283,7 +283,9 @@
#define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder)
/* Return X times (2 to the Nth power). */
+#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
#define scalb(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, scalb)
+#endif
/* Return X times (2 to the Nth power). */
#define scalbn(Val1, Val2) __TGMATH_BINARY_FIRST_REAL_ONLY (Val1, Val2, scalbn)