clean up mingw issues

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@183 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-05-20 18:19:02 +00:00
parent 21dec668c4
commit 5d36d9105a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#include <unistd.h>
#include "streamfile.h"
#include "util.h"
@ -171,4 +172,4 @@ STREAMFILE * open_stdio_streamfile_buffer(const char * const filename, size_t bu
}
return streamFile;
}
}

View File

@ -21,6 +21,9 @@
#define fseeko fseek
#define ftello ftell
#define dup _dup
#ifdef fileno
#undef fileno
#endif
#define fileno _fileno
#define fdopen _fdopen
#endif