You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by ra...@apache.org on 2005/03/14 05:01:06 UTC

svn commit: r157378 - httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Param/Param.xs

Author: randyk
Date: Sun Mar 13 20:01:05 2005
New Revision: 157378

URL: http://svn.apache.org/viewcvs?view=rev&rev=157378
Log:
if index() isn't available, use strchr()

Modified:
    httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Param/Param.xs   (contents, props changed)

Modified: httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Param/Param.xs
URL: http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Param/Param.xs?view=diff&r1=157377&r2=157378
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Param/Param.xs (original)
+++ httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Param/Param.xs Sun Mar 13 20:01:05 2005
@@ -1,5 +1,10 @@
 #include "apreq_xs_tables.h"
 #define TABLE_CLASS "APR::Request::Param::Table"
+
+#ifndef index
+#define index strchr
+#endif
+
 static int apreq_xs_table_do_sub(void *data, const char *key,
                                  const char *val)
 {

Propchange: httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/APR/Request/Param/Param.xs
------------------------------------------------------------------------------
    svn:eol-style = native