From e1204086baee7eb2a8ab8083992d5a789959c235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 22 Mar 2006 13:24:23 +0000 Subject: [PATCH] Build fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/debug.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/debug.h b/include/wx/debug.h index 7c24513182..54573e37a2 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -48,7 +48,9 @@ #endif /* __WXDEBUG__ */ /* TODO: add more compilers supporting __FUNCTION__ */ -#if !defined(__GNUC__) && !(defined(_MSC_VER) && _MSC_VER >= 1300) +#if !defined(__GNUC__) && \ + !(defined(_MSC_VER) && _MSC_VER >= 1300) && \ + !defined(__FUNCTION__) /* no __FUNCTION__ support, still define it to avoid #ifdefs elsewhere */ #define __FUNCTION__ (NULL) #endif