summaryrefslogtreecommitdiff
path: root/firmware/include/strtok_r.h
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-05-14 22:57:52 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-05-14 22:57:52 +0000
commit530c25130fb561a1260d32b756d008385d7e5a69 (patch)
tree318db0e5294d9baceeff060df29f2ac47626ffb4 /firmware/include/strtok_r.h
parent759cfece4bb96547f34bf52ceffd0412599d6362 (diff)
Make the sim buildable with mingw again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26037 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/strtok_r.h')
-rw-r--r--firmware/include/strtok_r.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/firmware/include/strtok_r.h b/firmware/include/strtok_r.h
new file mode 100644
index 0000000000..f4727630fa
--- /dev/null
+++ b/firmware/include/strtok_r.h
@@ -0,0 +1,28 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2010 Thomas Martitz
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+
+#ifndef __STRTOK_R_H__
+#define __STRTOK_R_H__
+#if defined(__MINGW32__) || defined(__CYGWIN__)
+char *strtok_r(char *, const char *, char **);
+#endif
+#endif