Hi -

'modperl_util.c' does not compile when building modperl 2 from
cvs source w/o 'MP_TRACE'. It looks like some 'MP_TRACE...'
defines must be defined to nothing when 'MP_TRACE' is not set.

This patch works for me:

--- modperl-2.0/src/modules/perl/modperl_util.h 2004-05-09 16:37:05.000000000 
-1000
+++ patched/src/modules/perl/modperl_util.h     2004-05-10 01:05:52.676835220 
-1000
@@ -212,6 +212,17 @@
 #define MP_TRACEv__PERLID
 #endif /* USE_ITHREADS */
 
+#else /* MP_TRACE */
+
+#define MP_TRACEf_TID
+#define MP_TRACEv_TID
+#define MP_TRACEv_TID_
+#define MP_TRACEv__TID
+#define MP_TRACEf_PERLID
+#define MP_TRACEv_PERLID
+#define MP_TRACEv_PERLID_
+#define MP_TRACEv__PERLID
+
 #endif

Aloha => Beau;



-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to