]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/debug.h
Build fix.
[wxWidgets.git] / 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