1
0
Fork 0
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:
Daniel Stenberg 2003-03-16 21:42:22 +00:00
parent 5bbed107ab
commit 3f27f7d82c

View file

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