git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29457
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define wxWrite _write(fd, (const char *)buf, nCount)
#endif
#else
- #ifdef __DMC__
+ #if defined(__DMC__) || defined(__WATCOMC__)
#define wxRead ::read
#define wxWrite ::write
#else
#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