forked from len0rd/rockbox
only do the fprintf() if not doing a simulator, since this file is used
for the win32 simulator and the fprintf() of Rockbox differs slightly from how the true POSIX one is (the first argument). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3452 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5bbed107ab
commit
3f27f7d82c
1 changed files with 3 additions and 0 deletions
|
@ -193,6 +193,8 @@ static int fprfunc(void *pr, unsigned char letter)
|
|||
}
|
||||
|
||||
|
||||
#ifndef SIMULATOR
|
||||
|
||||
int fprintf(int fd, const char *fmt, ...)
|
||||
{
|
||||
bool ok;
|
||||
|
@ -208,3 +210,4 @@ int fprintf(int fd, const char *fmt, ...)
|
|||
|
||||
return fpr.bytes; /* return 0 on error */
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue