dougm 01/10/11 12:14:06 Modified: src/modules/perl modperl_log.h Log: __FUNCTION__ usage breaks on anything non-gcc even without MP_TRACE=1; workaround that for now Revision Changes Path 1.6 +8 -3 modperl-2.0/src/modules/perl/modperl_log.h Index: modperl_log.h =================================================================== RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_log.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- modperl_log.h 2001/05/04 04:21:50 1.5 +++ modperl_log.h 2001/10/11 19:14:06 1.6 @@ -1,9 +1,14 @@ #ifndef MODPERL_LOG_H #define MODPERL_LOG_H -#define MP_FUNC __FUNCTION__ /* XXX: not every cc supports this - * sort out later - */ +#ifdef MP_TRACE +/* XXX: not every cc supports this + * sort out later + */ +# define MP_FUNC __FUNCTION__ +#else +# define MP_FUNC "MP_FUNC" +#endif #include "modperl_trace.h"