From 3d7b76c140a2c824ff0187870cd10ecb82ec563a Mon Sep 17 00:00:00 2001 From: janwas Date: Thu, 8 Jul 2004 14:24:17 +0000 Subject: [PATCH] add read/write prototypes (file.cpp wasn't including a windows header that defined them elsewhere) This was SVN commit r653. --- source/lib/sysdep/win/wposix.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/lib/sysdep/win/wposix.h b/source/lib/sysdep/win/wposix.h index 1ff85c6c80..e8e35d9ce4 100755 --- a/source/lib/sysdep/win/wposix.h +++ b/source/lib/sysdep/win/wposix.h @@ -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