[xiph-commits] r14939 - trunk/vorbis/lib

msmith at svn.xiph.org msmith at svn.xiph.org
Thu May 22 11:24:17 PDT 2008


Author: msmith
Date: 2008-05-22 11:24:17 -0700 (Thu, 22 May 2008)
New Revision: 14939

Modified:
   trunk/vorbis/lib/os.h
Log:
Only use the MSVC inline assembly if we're:
  a) compiling with MSVC
  b) not on win64, where inline assembly isn't implemented (!?)



Modified: trunk/vorbis/lib/os.h
===================================================================
--- trunk/vorbis/lib/os.h	2008-05-22 16:29:04 UTC (rev 14938)
+++ trunk/vorbis/lib/os.h	2008-05-22 18:24:17 UTC (rev 14939)
@@ -116,7 +116,9 @@
 #endif
 
 
-#if defined(_WIN32) && !defined(__GNUC__) && !defined(__BORLANDC__)
+/* MSVC inline assembly. 32 bit only; inline ASM isn't implemented in the 64 bit
+ * compiler */
+#if defined(_MSC_VER) && !defined(_WIN64)
 #  define VORBIS_FPU_CONTROL
 
 typedef ogg_int16_t vorbis_fpu_control;



More information about the commits mailing list