apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: apr/include/arch/win32 apr_private.h
Date Mon, 08 Oct 2001 23:09:09 GMT
brane       01/10/08 16:09:09

  Modified:    include/arch/win32 apr_private.h
  Log:
  Get rid of warnings about redefinition of 'strcasecmp', as it's already
  defined in apr_general.h, and put 'sleep's parameter in parens in the
  macro expansion, for safety.
  
  Tested with a complete Win32 build of httpd-2.0; no warnings, no errors.
  
  Revision  Changes    Path
  1.26      +1 -2      apr/include/arch/win32/apr_private.h
  
  Index: apr_private.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/win32/apr_private.h,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- apr_private.h	2001/09/28 14:05:23	1.25
  +++ apr_private.h	2001/10/08 23:09:09	1.26
  @@ -138,8 +138,7 @@
    */
   typedef void (Sigfunc)(int);
   
  -#define strcasecmp(s1, s2)       stricmp(s1, s2)
  -#define sleep(t)                 Sleep(t * 1000)
  +#define sleep(t)                 Sleep((t) * 1000)
   
   #define SIZEOF_SHORT           2
   #define SIZEOF_INT             4
  
  
  

Mime
View raw message