httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr acconfig.h
Date Mon, 11 Oct 1999 14:13:20 GMT
bjh         99/10/11 07:13:20

  Modified:    src/lib/apr acconfig.h
  Log:
  Map strcasecmp to stricmp if stricmp is available but strcasecmp isn't.
  
  Revision  Changes    Path
  1.6       +4 -0      apache-2.0/src/lib/apr/acconfig.h
  
  Index: acconfig.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/acconfig.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- acconfig.h	1999/10/08 20:03:32	1.5
  +++ acconfig.h	1999/10/11 14:13:19	1.6
  @@ -100,4 +100,8 @@
   #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 */
  
  
  

Mime
View raw message