From: Ulrich Drepper Date: Mon, 7 Sep 1998 10:00:04 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_0_96~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26644e876ed70e2616f3ce74f401a6ead381b5a7;p=thirdparty%2Fglibc.git Update. 1998-09-07 09:58 Ulrich Drepper * math/tgmath.h (scalb): Only define for __USE_MISC or __USE_XOPEN_EXTENDED. Patch by Zack Weinberg. --- diff --git a/ChangeLog b/ChangeLog index 7a55cfd2adf..49fc6aa9794 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-09-07 09:58 Ulrich Drepper + + * math/tgmath.h (scalb): Only define for __USE_MISC or + __USE_XOPEN_EXTENDED. Patch by Zack Weinberg. + 1998-09-06 Andreas Schwab * libio/stdio.h: Fix comment. diff --git a/math/tgmath.h b/math/tgmath.h index 307a124afc8..b95d55be44e 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)