[xiph-cvs] cvs commit: vorbis/lib os.h
Michael Smith
msmith at xiph.org
Tue Jan 30 01:40:12 PST 2001
msmith 01/01/30 01:40:12
Modified: lib os.h
Log:
Only use MSVC inline assembly on MSVC, not for win32 in general.
Revision Changes Path
1.20 +3 -3 vorbis/lib/os.h
Index: os.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/os.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- os.h 2000/12/21 21:04:40 1.19
+++ os.h 2001/01/30 09:40:11 1.20
@@ -14,7 +14,7 @@
********************************************************************
function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os.h,v 1.19 2000/12/21 21:04:40 xiphmont Exp $
+ last mod: $Id: os.h,v 1.20 2001/01/30 09:40:11 msmith Exp $
********************************************************************/
@@ -129,8 +129,8 @@
typedef int vorbis_fpu_control;
-#ifdef _WIN32
-
+#ifdef _MSC_VER
+/* MSVC++ */
static __inline int vorbis_ftoi(double f){
int i;
__asm{
--- >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