static inline define hack for GCC where it really helps the mdct
authorMonty <xiphmont@xiph.org>
Sun, 17 Dec 2000 08:47:46 +0000 (08:47 +0000)
committerMonty <xiphmont@xiph.org>
Sun, 17 Dec 2000 08:47:46 +0000 (08:47 +0000)
svn path=/trunk/vorbis/; revision=1116

lib/os.h

index aa87d0a..b817c2b 100644 (file)
--- a/lib/os.h
+++ b/lib/os.h
@@ -14,7 +14,7 @@
  ********************************************************************
 
  function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os.h,v 1.17 2000/12/13 18:12:34 giles Exp $
+ last mod: $Id: os.h,v 1.18 2000/12/17 08:47:46 xiphmont Exp $
 
  ********************************************************************/
 
 #  include <malloc.h>
 #  define rint(x)   (floor((x)+0.5)) 
 #endif
+
+#define STIN static
+#else
+#define STIN static inline
 #endif
 
+
 #ifdef _WIN32
 #  define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b))
 #else /* if not _WIN32 */