ugly attempt to fix compilation for BCB 6 (bug 819700)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -308,8 +308,15 @@ void WXDLLIMPEXP_BASE wxTraceLevel(int level, const wxChar *fmt ...) ATTRIBUTE_P
|
|||||||
|
|
||||||
#else // else part for the #if __WXDEBUG__
|
#else // else part for the #if __WXDEBUG__
|
||||||
|
|
||||||
|
// Borland C++ Builder 6 seems to have troubles with inline functions (see bug
|
||||||
|
// 819700)
|
||||||
|
#if 0
|
||||||
inline void wxTrace(const wxChar *WXUNUSED(fmt)) {}
|
inline void wxTrace(const wxChar *WXUNUSED(fmt)) {}
|
||||||
inline void wxTraceLevel(int WXUNUSED(level), const wxChar *WXUNUSED(fmt)) {}
|
inline void wxTraceLevel(int WXUNUSED(level), const wxChar *WXUNUSED(fmt)) {}
|
||||||
|
#else
|
||||||
|
#define wxTrace(fmt)
|
||||||
|
#define wxTraceLevel(l, fmt)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define WXTRACE TRUE ? (void)0 : wxTrace
|
#define WXTRACE TRUE ? (void)0 : wxTrace
|
||||||
#define WXTRACELEVEL TRUE ? (void)0 : wxTraceLevel
|
#define WXTRACELEVEL TRUE ? (void)0 : wxTraceLevel
|
||||||
|
Reference in New Issue
Block a user