From 2c1e8f6c6a91dc061e093e0e2356c1aa03b83fd6 Mon Sep 17 00:00:00 2001 From: jsquyres Date: Mon, 19 Feb 2001 05:34:59 +0000 Subject: [PATCH] Added exception to not use the "f" versions of the math functions when not compiling with gcc (gotta love negative logic!). Apparently, this was exception was in here back in version 1.20, but with slightly different logic. When the logic got changed, it seems that this exception got lost. Without this exception, compiling with the native solaris compilers barfs because most of these functions don't exist on solaris. svn path=/trunk/vorbis/; revision=1306 --- lib/os.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/os.h b/lib/os.h index 3c4f74f..31cf102 100644 --- a/lib/os.h +++ b/lib/os.h @@ -13,7 +13,7 @@ ******************************************************************** function: #ifdef jail to whip a few platforms into the UNIX ideal. - last mod: $Id: os.h,v 1.22 2001/02/02 03:51:57 xiphmont Exp $ + last mod: $Id: os.h,v 1.23 2001/02/19 05:34:59 jsquyres Exp $ ********************************************************************/ @@ -42,6 +42,10 @@ # define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b)) #endif +#ifndef __GNUC__ +# define NO_FLOAT_MATH_LIB +#endif + #ifdef DARWIN # define NO_FLOAT_MATH_LIB #endif -- 2.7.4