diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2010-05-14 22:57:52 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2010-05-14 22:57:52 +0000 |
commit | 530c25130fb561a1260d32b756d008385d7e5a69 (patch) | |
tree | 318db0e5294d9baceeff060df29f2ac47626ffb4 /apps/plugins/frotz/frotzplugin.h | |
parent | 759cfece4bb96547f34bf52ceffd0412599d6362 (diff) | |
download | rockbox-530c25130fb561a1260d32b756d008385d7e5a69.tar.gz rockbox-530c25130fb561a1260d32b756d008385d7e5a69.zip |
Make the sim buildable with mingw again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26037 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/frotz/frotzplugin.h')
-rw-r--r-- | apps/plugins/frotz/frotzplugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/frotz/frotzplugin.h b/apps/plugins/frotz/frotzplugin.h index 1a52bdb913..f975fc8c22 100644 --- a/apps/plugins/frotz/frotzplugin.h +++ b/apps/plugins/frotz/frotzplugin.h | |||
@@ -27,6 +27,7 @@ | |||
27 | * pretend stdio.h is implemented. references to FILE * still have to be | 27 | * pretend stdio.h is implemented. references to FILE * still have to be |
28 | * changed to int, and references to NULL into -1, but there are less of those | 28 | * changed to int, and references to NULL into -1, but there are less of those |
29 | */ | 29 | */ |
30 | #undef ferror | ||
30 | #define fread(ptr, size, nmemb, stream) rb->read(stream, ptr, size*nmemb) | 31 | #define fread(ptr, size, nmemb, stream) rb->read(stream, ptr, size*nmemb) |
31 | #define fwrite(ptr, size, nmemb, stream) rb->write(stream, ptr, size*nmemb) | 32 | #define fwrite(ptr, size, nmemb, stream) rb->write(stream, ptr, size*nmemb) |
32 | #define fclose(stream) rb->close(stream) | 33 | #define fclose(stream) rb->close(stream) |