Beau E. Cox wrote:
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.

Some compilers are just so silly... gcc works just fine with MP_TRACE unset.


Thanks Beau, I've committed a similar fix, with less dups. Please check that it works for you. Thank you.

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;





--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
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