]> git.saurik.com Git - wxWidgets.git/commitdiff
Watcom fixes after recent wxFile changes.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 27 Sep 2004 17:27:41 +0000 (17:27 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 27 Sep 2004 17:27:41 +0000 (17:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h

index 2ad2b9680a4339583acd413b815e190a2fe77f8c..def21bb847425dee67af517331356164077376df 100644 (file)
@@ -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