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:
parent
b07360ccf7
commit
3d7b76c140
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user