From: Włodzimierz Skiba Date: Wed, 22 Mar 2006 13:24:23 +0000 (+0000) Subject: Build fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e1204086baee7eb2a8ab8083992d5a789959c235 Build fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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