From: Vadim Zeitlin Date: Sun, 27 Feb 2005 14:43:31 +0000 (+0000) Subject: fix for BCC compilation (see patch 1101702) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/61f3feadce9f831630aa7518d31d18a2e50f7253 fix for BCC compilation (see patch 1101702) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/mslu.h b/include/wx/msw/mslu.h index ed8b9423e8..8df35bfb9f 100644 --- a/include/wx/msw/mslu.h +++ b/include/wx/msw/mslu.h @@ -57,6 +57,12 @@ WXDLLIMPEXP_BASE FILE* wxMSLU__tfopen(const wxChar *name, const wxChar *mode); || ( defined(__MINGW32__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \ || ( defined(__MWERKS__) && defined(__WXMSW__) ) \ || ( defined(__BORLANDC__) && (__BORLANDC__ > 0x460) ) + +#ifdef __BORLANDC__ + // BCC has _stati64() function but struct stati64 + #define _stati64 stati64 +#endif + WXDLLIMPEXP_BASE int wxMSLU__wopen(const wxChar *name, int flags, int mode); WXDLLIMPEXP_BASE int wxMSLU__waccess(const wxChar *name, int mode); WXDLLIMPEXP_BASE int wxMSLU__wmkdir(const wxChar *name);