Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/strtok.c')
-rw-r--r--newlib/libc/string/strtok.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/string/strtok.c b/newlib/libc/string/strtok.c
index bc11f0df7..7f250b456 100644
--- a/newlib/libc/string/strtok.c
+++ b/newlib/libc/string/strtok.c
@@ -60,6 +60,8 @@ QUICKREF
strtok ansi impure
*/
+/* undef STRICT_ANSI so that strtok_r prototype will be defined */
+#undef __STRICT_ANSI__
#include <string.h>
#include <_ansi.h>
#include <reent.h>