X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28e5e577e4d26332a7ebdf7d1dc7492807fa1601..7b162e540e98415f8ac6bc1fd5b880e143aa85e5:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index c59b78a015..65e3396aa0 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -39,8 +39,6 @@ #if defined(__VISUALC__) || ( defined(__MWERKS__) && defined( __INTEL__) ) typedef _off_t off_t; -#elif defined(__BORLANDC__) && defined(__WIN16__) - typedef long off_t; #elif defined(__SYMANTEC__) typedef long off_t; #elif defined(__MWERKS__) && !defined(__INTEL__) && !defined(__MACH__) @@ -75,6 +73,7 @@ enum wxSeekMode #if defined( __VISUALC__ ) \ || ( defined(__MINGW32__) && !defined(__WINE__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \ || ( defined(__MWERKS__) && defined(__WXMSW__) ) \ + || ( defined(__DMC__) && defined(__WXMSW__) ) \ || ( defined(__WATCOMC__) && defined(__WXMSW__) ) // functions #if defined(__BORLANDC__) || defined(__WATCOMC__) @@ -163,6 +162,9 @@ enum wxSeekMode #if defined(__MWERKS__) && defined(macintosh) #include #endif +#if defined(__DMC__) + typedef unsigned long mode_t; +#endif WXDLLIMPEXP_BASE int wxStat( const wxChar *file_name, wxStructStat *buf ); WXDLLIMPEXP_BASE int wxAccess( const wxChar *pathname, int mode ); WXDLLIMPEXP_BASE int wxOpen( const wxChar *pathname, int flags, mode_t mode );