From 23dd6f9cabf6ab036a844916d91a03acfa394120 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Mon, 6 Nov 2000 08:55:15 +0000 Subject: [PATCH] vc++ correct syntax is '__inline' not 'inline'. corrected. monty: you may have a prettier way of doing this... svn path=/trunk/vorbis/; revision=994 --- lib/os.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/os.h b/lib/os.h index 0d58d7c..e08432f 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.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 @@ static int vorbis_ftoi(double f){ 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 -- 2.7.4