Workaround for BCC 5.5/5.5.1 _wopen bug.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-11-09 22:45:19 +00:00
parent a04be1e3e8
commit 311b04034e
2 changed files with 44 additions and 1 deletions

View File

@@ -282,7 +282,12 @@ enum wxFileKind
#endif
#else // !wxUSE_UNICODE_MSLU
#ifdef __BORLANDC__
#define wxOpen _wopen
#if __BORLANDC__ >= 0x550 && __BORLANDC__ <= 0x551
WXDLLIMPEXP_BASE int wxOpen(const wxChar *pathname,
int flags, mode_t mode);
#else
#define wxOpen _wopen
#endif
#define wxAccess _waccess
#define wxMkDir _mkdir
#define wxRmDir _rmdir