From 1239ac2e28ff365856aa19e7e775962d6ba4fc93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 27 Sep 2004 17:27:41 +0000 Subject: [PATCH] Watcom fixes after recent wxFile changes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/filefn.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 2ad2b9680a..def21bb847 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -210,7 +210,7 @@ enum wxSeekMode #define wxWrite _write(fd, (const char *)buf, nCount) #endif #else - #ifdef __DMC__ + #if defined(__DMC__) || defined(__WATCOMC__) #define wxRead ::read #define wxWrite ::write #else @@ -228,7 +228,11 @@ enum wxSeekMode #define wxTell _tell #endif #define wxFsync _commit - #define wxEof _eof + #if defined(__WATCOMC__) + #define wxEof ::eof + #else + #define wxEof _eof + #endif #if wxUSE_UNICODE #if wxUSE_UNICODE_MSLU -- 2.45.2