From 2e1b84208b4a9adaad75bce9a4906b9b2a9b6336 Mon Sep 17 00:00:00 2001 From: Monty Date: Sun, 17 Dec 2000 08:47:46 +0000 Subject: [PATCH] static inline define hack for GCC where it really helps the mdct svn path=/trunk/vorbis/; revision=1116 --- lib/os.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/os.h b/lib/os.h index aa87d0a..b817c2b 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.17 2000/12/13 18:12:34 giles Exp $ + last mod: $Id: os.h,v 1.18 2000/12/17 08:47:46 xiphmont Exp $ ********************************************************************/ @@ -33,8 +33,13 @@ # include # define rint(x) (floor((x)+0.5)) #endif + +#define STIN static +#else +#define STIN static inline #endif + #ifdef _WIN32 # define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b)) #else /* if not _WIN32 */ -- 2.7.4