#define floor floorf , if it exists. Don't use floorf() directly.
[platform/upstream/libvorbis.git] / lib / os.h
index a6d179e..aae1da7 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.28 2001/12/19 01:08:14 xiphmont Exp $
+ last mod: $Id: os.h,v 1.29 2002/03/18 03:30:23 segher Exp $
 
  ********************************************************************/
 
@@ -63,6 +63,9 @@
 #ifdef HAVE_RINTF
 #  define rint rintf
 #endif
+#ifdef HAVE_FLOORF
+#  define floor floorf
+#endif
 
 #ifndef FAST_HYPOT
 #  define FAST_HYPOT hypot