From 61f3feadce9f831630aa7518d31d18a2e50f7253 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 27 Feb 2005 14:43:31 +0000 Subject: [PATCH] fix for BCC compilation (see patch 1101702) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/mslu.h | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.45.2