mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +01:00
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:
parent
21dec668c4
commit
5d36d9105a
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user