From 352bce319cc4a804600f379cd028e913bee3f2fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 30 Dec 2003 12:07:09 +0000 Subject: use a macro STATIC_INLINE since i cannot convince vc6 to compile inline functions svn path=/trunk/externals/zexy/; revision=1247 --- src/z_strings.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/z_strings.c b/src/z_strings.c index bc6bef6..e2f8e21 100644 --- a/src/z_strings.c +++ b/src/z_strings.c @@ -5,7 +5,10 @@ #ifdef NT #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) -#define sqrtf sqrt +#define sqrtf sqrt +#define STATIC_INLINE +#else +#define STATIC_INLINE static #endif /* @@ -285,7 +288,7 @@ static void symbol2list_delimiter(t_symbol2list *x, t_symbol *s){ x->delimiter = s; } -static inline void string2atom(t_atom *ap, char* cp, int clen){ +STATIC_INLINE void string2atom(t_atom *ap, char* cp, int clen){ char *buffer=getbytes(sizeof(char)*(clen+1)); char *endptr[1]; t_float ftest; -- cgit v1.2.1