From 4d41c9904f1929b28e03cd39c8a0acc39cc8fe25 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 21 Dec 2009 13:17:28 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1455 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/various/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/os/various/shell.c b/os/various/shell.c index c069b7fcb..26bf68e2e 100644 --- a/os/various/shell.c +++ b/os/various/shell.c @@ -39,6 +39,7 @@ */ EventSource shell_terminated; +#if defined(WIN32) /* * MinGW does not seem to have this function... */ @@ -58,6 +59,7 @@ static char *strtok_r(char *str, const char *delim, char **saveptr) { return *token ? token : NULL; } +#endif static void usage(BaseChannel *chp, char *p) { -- cgit v1.2.3