diff options
Diffstat (limited to 'src/common/strlib.h')
-rw-r--r-- | src/common/strlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/strlib.h b/src/common/strlib.h index 7eb167057..09eac0048 100644 --- a/src/common/strlib.h +++ b/src/common/strlib.h @@ -11,9 +11,9 @@ char* jstrescape (char* pt); char* jstrescapecpy (char* pt,char* spt);
int jmemescapecpy (char* pt,char* spt, int size);
-#if !defined(HAVE_mit_thread) && !defined(HAVE_STRTOK_R)
-#define strtok_r(s,delim,save_ptr) athena_strtok_r((s),(delim),(save_ptr))
-char *athena_strtok_r(char *s1, const char *s2, char **lasts);
+#ifdef __WIN32
+#define strtok_r(s,delim,save_ptr) _strtok_r((s),(delim),(save_ptr))
+char *_strtok_r(char *s1, const char *s2, char **lasts);
#endif
// custom functions
|