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)
downloadrockbox-530c25130fb561a1260d32b756d008385d7e5a69.tar.gz
rockbox-530c25130fb561a1260d32b756d008385d7e5a69.zip
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 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2010 Thomas Martitz
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22
23#ifndef __STRTOK_R_H__
24#define __STRTOK_R_H__
25#if defined(__MINGW32__) || defined(__CYGWIN__)
26char *strtok_r(char *, const char *, char **);
27#endif
28#endif