Build fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2006-03-22 13:24:23 +00:00
parent a0f3af5fb6
commit e1204086ba

View 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