Make the sim buildable with mingw again

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26037 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2010-05-14 22:57:52 +00:00
parent 759cfece4b
commit 530c25130f
7 changed files with 34 additions and 4 deletions

View file

@ -25,3 +25,4 @@
#include "strlcat.h"
#include "strcasecmp.h"
#include "strcasestr.h"
#include "strtok_r.h"

View file

@ -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