From e3403ecd9f218766ce64eed0ff6b6cd706391fa4 Mon Sep 17 00:00:00 2001 From: Felix Arends Date: Fri, 14 Feb 2003 20:51:10 +0000 Subject: this fixes the win32 simulator compilation the simulator does not use the firmare\include path, instead it uses standard header files those header files that do not exist in the SDK are placed in the win32 directory (dir.h, sprintf.h) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3264 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/win32/sprintf.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 uisimulator/win32/sprintf.h (limited to 'uisimulator/win32/sprintf.h') diff --git a/uisimulator/win32/sprintf.h b/uisimulator/win32/sprintf.h new file mode 100644 index 0000000000..ecbbc8a419 --- /dev/null +++ b/uisimulator/win32/sprintf.h @@ -0,0 +1,29 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2002 by Felix Arends + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#ifndef __SPRINTF_H__ +#define __SPRINTF_H__ + +#include +#include + +int snprintf (char *buf, size_t size, const char *fmt, ...); +int vsnprintf (char *buf, int size, const char *fmt, va_list ap); + +#endif /* __SPRINTF_H__ */ -- cgit v1.2.3