diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2003-12-30 12:07:09 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2003-12-30 12:07:09 +0000 |
commit | 352bce319cc4a804600f379cd028e913bee3f2fa (patch) | |
tree | 22397bb3cfdb4ddfa671f47f932a7d21f401d8a9 | |
parent | 7b30c76084491a7106ccb8d0c42bedd457d3b218 (diff) |
use a macro STATIC_INLINE since i cannot convince vc6 to compile inline functions
svn path=/trunk/externals/zexy/; revision=1247
-rw-r--r-- | src/z_strings.c | 7 |
1 files 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; |