httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r161336 - in httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request: Apache2/APR__Request__Apache2.h CGI/APR__Request__CGI.h
Date Thu, 14 Apr 2005 18:39:45 GMT
Author: joes
Date: Thu Apr 14 11:39:44 2005
New Revision: 161336

URL: http://svn.apache.org/viewcvs?view=rev&rev=161336
Log:
Wrap ithread-specific code inside #ifdef USE_ITHREADS.
Otherwise non-ithread perls can't compile with -Werror set.

Reported by: Philip Gollucci

Modified:
    httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Apache2/APR__Request__Apache2.h
    httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/CGI/APR__Request__CGI.h

Modified: httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Apache2/APR__Request__Apache2.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Apache2/APR__Request__Apache2.h?view=diff&r1=161335&r2=161336
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Apache2/APR__Request__Apache2.h
(original)
+++ httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Apache2/APR__Request__Apache2.h
Thu Apr 14 11:39:44 2005
@@ -78,8 +78,10 @@
 
 static int apreq_xs_table_keys(void *data, const char *key, const char *val)
 {
+#ifdef USE_ITHREADS
     struct apreq_xs_do_arg *d = (struct apreq_xs_do_arg *)data;
     dTHXa(d->perl);
+#endif
     dSP;
     apreq_param_t *p = apreq_value_to_param(val);
     SV *sv = newSVpvn(key, p->v.nlen);

Modified: httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/CGI/APR__Request__CGI.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/CGI/APR__Request__CGI.h?view=diff&r1=161335&r2=161336
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/CGI/APR__Request__CGI.h
(original)
+++ httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/CGI/APR__Request__CGI.h
Thu Apr 14 11:39:44 2005
@@ -75,8 +75,10 @@
 
 static int apreq_xs_table_keys(void *data, const char *key, const char *val)
 {
+#ifdef USE_ITHREADS
     struct apreq_xs_do_arg *d = (struct apreq_xs_do_arg *)data;
     dTHXa(d->perl);
+#endif
     dSP;
     apreq_param_t *p = apreq_value_to_param(val);
     SV *sv = newSVpvn(key, p->v.nlen);



Mime
View raw message