diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-02-18 13:47:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-18 13:47:17 +0000 |
commit | cdde25b597eb4047e9db27bb8bbcf938e4a43cfe (patch) | |
tree | d25f47817cc8515228c8ea0eb33ab71bfc2159d4 /firmware/include/stdio.h | |
parent | f436476f9f0eeae4640197866ea5b5fa068df7e9 (diff) | |
download | rockbox-cdde25b597eb4047e9db27bb8bbcf938e4a43cfe.tar.gz rockbox-cdde25b597eb4047e9db27bb8bbcf938e4a43cfe.zip |
Unified build system to use SOURCES for sim builds too, a single Makefile-look
made by configure and various related adjustments. This has not yet been tested
on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/stdio.h')
-rw-r--r-- | firmware/include/stdio.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/include/stdio.h b/firmware/include/stdio.h index b98f01c729..968bd59aab 100644 --- a/firmware/include/stdio.h +++ b/firmware/include/stdio.h | |||
@@ -36,4 +36,13 @@ | |||
36 | int snprintf (char *buf, size_t size, const char *fmt, ...); | 36 | int snprintf (char *buf, size_t size, const char *fmt, ...); |
37 | int vsnprintf (char *buf, int size, const char *fmt, __VALIST ap); | 37 | int vsnprintf (char *buf, int size, const char *fmt, __VALIST ap); |
38 | 38 | ||
39 | #ifdef SIMULATOR | ||
40 | typedef void FILE; | ||
41 | int vfprintf(FILE *stream, const char *format, __VALIST ap); | ||
42 | #ifdef WIN32 | ||
43 | #define FILENAME_MAX 260 /* ugly hard-coded value of a limit that is set | ||
44 | in file.h */ | ||
45 | #endif | ||
46 | #endif | ||
47 | |||
39 | #endif /* _STDIO_H_ */ | 48 | #endif /* _STDIO_H_ */ |