diff options
author | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 1999-10-11 14:13:19 +0000 |
---|---|---|
committer | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 1999-10-11 14:13:19 +0000 |
commit | 9cad42ba61600dae137c2217a296e36d97ba6f77 (patch) | |
tree | 17e23e35201e77ebc0ac4a946b78becdb5b03db1 /acconfig.h | |
parent | ee0acf0d3023660296a7160dd32052c88af6a5a8 (diff) | |
download | libapr-9cad42ba61600dae137c2217a296e36d97ba6f77.tar.gz |
Map strcasecmp to stricmp if stricmp is available but strcasecmp isn't.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59306 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h index 381f50bd9..44a167a67 100644 --- a/acconfig.h +++ b/acconfig.h @@ -100,4 +100,8 @@ Sigfunc *signal(int signo, Sigfunc * func); #define LOCALTIME_R(x, y) memcpy(y, localtime(x), sizeof(y)) #endif +#if !defined(HAVE_STRCASECMP) && defined(HAVE_STRICMP) +#define strcasecmp(s1,s2) stricmp(s1,s2) +#endif + #endif /* APR_CONFIG_H */ |