[xiph-cvs] cvs commit: vorbis/lib os.h

Monty xiphmont at xiph.org
Sun Dec 17 00:47:47 PST 2000



xiphmont    00/12/17 00:47:46

  Modified:    lib      os.h
  Log:
  static inline define hack for GCC where it really helps the mdct

Revision  Changes    Path
1.18      +6 -1      vorbis/lib/os.h

Index: os.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/os.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- os.h	2000/12/13 18:12:34	1.17
+++ os.h	2000/12/17 08:47:46	1.18
@@ -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 $
 
  ********************************************************************/
 
@@ -33,7 +33,12 @@
 #  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))

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list