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

Jack Moffitt jack at xiph.org
Mon Nov 6 00:55:15 PST 2000



jack        00/11/06 00:55:15

  Modified:    lib      os.h
  Log:
  vc++ correct syntax is '__inline' not 'inline'.  corrected.
  
  monty: you may have a prettier way of doing this...

Revision  Changes    Path
1.12      +10 -1     vorbis/lib/os.h

Index: os.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/os.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- os.h	2000/11/06 00:07:01	1.11
+++ os.h	2000/11/06 08:55:15	1.12
@@ -14,7 +14,7 @@
  ********************************************************************
 
  function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os.h,v 1.11 2000/11/06 00:07:01 xiphmont Exp $
+ last mod: $Id: os.h,v 1.12 2000/11/06 08:55:15 jack Exp $
 
  ********************************************************************/
 
@@ -104,11 +104,20 @@
 
 typedef int vorbis_fpu_control;
 
+#ifdef _WIN32
+static __inline void vorbis_fpu_setround(vorbis_fpu_control *fpu){
+}
+
+static __inline void vorbis_fpu_restore(vorbis_fpu_control fpu){
+}
+#else 
 static inline void vorbis_fpu_setround(vorbis_fpu_control *fpu){
 }
 
 static inline void vorbis_fpu_restore(vorbis_fpu_control fpu){
 }
+#endif
+
 
 #endif
 

--- >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