From 3a40407c06a470f5b15a4df310ab135233ac6109 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 29 Dec 2008 13:55:44 +0000 Subject: - expand SUSv3_LEGACY - SUSv4_LEGACY part #1 (non-networking) --- include/tgmath.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/tgmath.h') diff --git a/include/tgmath.h b/include/tgmath.h index 685a34588..b3a546d17 100644 --- a/include/tgmath.h +++ b/include/tgmath.h @@ -376,6 +376,7 @@ /* Return the remainder of integer divison X / Y with infinite precision. */ #define remainder(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, remainder) +#if defined __UCLIBC_SUSV3_LEGACY__ /* 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) @@ -387,6 +388,7 @@ /* Return X times (2 to the Nth power). */ #define scalbln(Val1, Val2) \ __TGMATH_BINARY_FIRST_REAL_ONLY (Val1, Val2, scalbln) +#endif /* UCLIBC_SUSV3_LEGACY */ /* Return the binary exponent of X, which must be nonzero. */ #define ilogb(Val) __TGMATH_UNARY_REAL_ONLY (Val, ilogb) -- cgit v1.2.3