summaryrefslogtreecommitdiff
path: root/uisimulator/win32/sprintf.h
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2003-02-14 20:51:10 +0000
committerFelix Arends <edx@rockbox.org>2003-02-14 20:51:10 +0000
commite3403ecd9f218766ce64eed0ff6b6cd706391fa4 (patch)
tree2aea1d6cbcffd2b4b9d63bb24e107376583070ea /uisimulator/win32/sprintf.h
parente2628d99315c315ba52c5b9abe5ba9d4017e8386 (diff)
downloadrockbox-e3403ecd9f218766ce64eed0ff6b6cd706391fa4.tar.gz
rockbox-e3403ecd9f218766ce64eed0ff6b6cd706391fa4.zip
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
Diffstat (limited to 'uisimulator/win32/sprintf.h')
-rw-r--r--uisimulator/win32/sprintf.h29
1 files changed, 29 insertions, 0 deletions
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 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Felix Arends
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef __SPRINTF_H__
21#define __SPRINTF_H__
22
23#include <stddef.h>
24#include <stdarg.h>
25
26int snprintf (char *buf, size_t size, const char *fmt, ...);
27int vsnprintf (char *buf, int size, const char *fmt, va_list ap);
28
29#endif /* __SPRINTF_H__ */