The current CVS mp2 doesn't build on Win32 (at least) because 
modperl_sv2pool (referenced in modperl.def) is an unresolved external.

The attached patch fixes this.

NOTE: I don't know if the MP_INLINE bit is needed or not, I'll leave 
that to the judgement of somebody who knows what it does.


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender immediately.  The 
unauthorized use, disclosure, copying or alteration of this message is strictly 
forbidden.  Note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of Radan Computational Ltd.  The 
recipient(s) of this message should check it and any attached files for viruses: Radan 
Computational will accept no liability for any damage caused by any virus transmitted 
by this email.
--- src\modules\perl\modperl_util.c.orig        2004-01-21 08:39:11.724481200 +0000
+++ src\modules\perl\modperl_util.c     2004-01-21 08:48:13.536802200 +0000
@@ -172,7 +172,7 @@
     return rv;
 }
 
-static apr_pool_t *modperl_sv2pool(pTHX_ SV *obj, CV *method)
+MP_INLINE apr_pool_t *modperl_sv2pool(pTHX_ SV *obj, CV *method)
 {
     apr_pool_t *p = NULL;
     char *classname = NULL;
--- src\modules\perl\modperl_util.h.orig        2004-01-21 08:39:11.771359500 +0000
+++ src\modules\perl\modperl_util.h     2004-01-21 08:50:45.104457000 +0000
@@ -87,6 +87,8 @@
 MP_INLINE SV *modperl_perl_sv_setref_uv(pTHX_ SV *rv,
                                         const char *classname, UV uv);
 
+MP_INLINE apr_pool_t *modperl_sv2pool(pTHX_ SV *obj, CV *method);
+
 char *modperl_apr_strerror(apr_status_t rv);
 
 int modperl_errsv(pTHX_ int status, request_rec *r, server_rec *s);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to