1
0
forked from 0ad/0ad

add read/write prototypes (file.cpp wasn't including a windows header that defined them elsewhere)

This was SVN commit r653.
This commit is contained in:
janwas 2004-07-08 14:24:17 +00:00
parent b07360ccf7
commit 3d7b76c140

View File

@ -255,6 +255,8 @@ extern int open(const char* fn, int mode, ...);
#define read _read
#define write _write
_CRTIMP int read(int, void*, size_t);
_CRTIMP int write(int, void*, size_t);
// redefinition error here => io.h is getting included somewhere.
// we implement this function, so the io.h definition conflicts if