Author: joes
Date: Thu Apr 14 11:50:38 2005
New Revision: 161338
URL: http://svn.apache.org/viewcvs?view=rev&rev=161338
Log:
Wrap ithread-specific noop crap inside #ifndef 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=161337&r2=161338
==============================================================================
---
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:50:38 2005
@@ -85,6 +85,11 @@
dSP;
apreq_param_t *p = apreq_value_to_param(val);
SV *sv = newSVpvn(key, p->v.nlen);
+
+#ifndef USE_ITHREADS
+ (void)data;
+#endif
+
if (apreq_param_is_tainted(p))
SvTAINTED_on(sv);
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=161337&r2=161338
==============================================================================
---
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:50:38 2005
@@ -82,6 +82,11 @@
dSP;
apreq_param_t *p = apreq_value_to_param(val);
SV *sv = newSVpvn(key, p->v.nlen);
+
+#ifndef USE_ITHREADS
+ (void)data;
+#endif
+
if (apreq_param_is_tainted(p))
SvTAINTED_on(sv);