httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <>
Subject [apreq-2] strcasecmp
Date Sat, 19 Apr 2003 20:58:31 GMT
For apreq-2, compiling on Win32 with VC++, I get an error
in apreq_tables.c about strcasecmp being an undeclared 
identifier. This arises in apreq_table_make(), about line 557,
coming from
   t->cmp = strcasecmp;
I'm not sure this is right, or best, but one way which
avoids this error is to insert

APREQ_DECLARE(int) apreq_strcasecmp(const char *a, const char *b)
     return strcasecmp(a, b);

before this, and then to use, at line 557,
     t->cmp  = apreq_strcasecmp;

best regards,

View raw message