]> git.saurik.com Git - wxWidgets.git/commitdiff
Build fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 22 Mar 2006 13:24:23 +0000 (13:24 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 22 Mar 2006 13:24:23 +0000 (13:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/debug.h

index 7c245131824f72edf8951e67d220a0ca10677730..54573e37a2e1135c203cf871cd278c706c2f3500 100644 (file)
@@ -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