Added exception to not use the "f" versions of the math functions when
authorjsquyres <jsquyres@xiph.org>
Mon, 19 Feb 2001 05:34:59 +0000 (05:34 +0000)
committerjsquyres <jsquyres@xiph.org>
Mon, 19 Feb 2001 05:34:59 +0000 (05:34 +0000)
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

index 3c4f74f..31cf102 100644 (file)
--- 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 $
 
  ********************************************************************/
 
 #  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