From 7d4f9d70c828d732289125c1ef76d3918296a7c3 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Fri, 16 Nov 2007 17:19:37 +0000 Subject: [PATCH] fix Borland _stat needed for filedlgg.cpp in univ mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/filefn.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 7323a95efc..694acb6d07 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -326,8 +326,12 @@ enum wxFileKind #if defined(__OS2__) && defined(__WATCOMC__) #define wxStat _stat #else - #define wxStat wxPOSIX_IDENT(stat) - #endif + #if defined (__BORLANDC__) + #define wxStat _stat //wxPOSIX_IDENT(stat) + #else + #define wxStat wxPOSIX_IDENT(stat) + #endif // !borland + #endif // !watcom #endif #endif // wxUSE_UNICODE/!wxUSE_UNICODE