git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30013
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
_write(fd, (const char *)buf, nCount)
#endif
#else
_write(fd, (const char *)buf, nCount)
#endif
#else
- #if defined(__DMC__) || defined(__WATCOMC__)
+ #if defined(__WATCOMC__)
+ inline wxFileSize_t wxRead( int handle, void *buffer, wxFileSize_t len )
+ { return ::read( handle, buffer, (unsigned int)len ); }
+ inline wxFileSize_t wxWrite( int handle, const void *buffer, wxFileSize_t len )
+ { return ::write( handle, buffer, (unsigned int)len ); }
+ #elif defined(__DMC__)
#define wxRead ::read
#define wxWrite ::write
#else
#define wxRead ::read
#define wxWrite ::write
#else