From: Mike Smith Date: Tue, 30 Jan 2001 09:40:11 +0000 (+0000) Subject: Only use MSVC inline assembly on MSVC, not for win32 in general. X-Git-Tag: v1.3.3~1050 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=998eed3fc3589fd83f86dde7b9605329cf038e28;p=platform%2Fupstream%2Flibvorbis.git Only use MSVC inline assembly on MSVC, not for win32 in general. svn path=/trunk/vorbis/; revision=1225 --- diff --git a/lib/os.h b/lib/os.h index 953f69b..0f0dec8 100644 --- 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.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 @@ static int vorbis_ftoi(double f){ typedef int vorbis_fpu_control; -#ifdef _WIN32 - +#ifdef _MSC_VER +/* MSVC++ */ static __inline int vorbis_ftoi(double f){ int i; __asm{