From: Monty Date: Tue, 2 Sep 2003 05:11:53 +0000 (+0000) Subject: Minor patch to compile with DJGPP X-Git-Tag: v1.3.3~589 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6aa494389f4753bdb4a0028d8e59a22f0bc8cc96;p=platform%2Fupstream%2Flibvorbis.git Minor patch to compile with DJGPP svn path=/trunk/vorbis/; revision=5282 --- diff --git a/lib/os.h b/lib/os.h index 7268c3c..523cd5c 100644 --- a/lib/os.h +++ b/lib/os.h @@ -13,7 +13,7 @@ ******************************************************************** function: #ifdef jail to whip a few platforms into the UNIX ideal. - last mod: $Id: os.h,v 1.32 2002/07/11 06:40:49 xiphmont Exp $ + last mod: $Id: os.h,v 1.33 2003/09/02 05:11:53 xiphmont Exp $ ********************************************************************/ @@ -29,8 +29,12 @@ # define STIN static __inline__ # elif _WIN32 # define STIN static __inline -#else -# define STIN static +# else +# define STIN static +# endif + +#ifdef DJGPP +# define rint(x) (floor((x)+0.5f)) #endif #ifndef M_PI