aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/z_strings.c7
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;