httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apache-1.3/src/ap ap_snprintf.c
Date Thu, 03 May 2001 02:24:59 GMT
wrowe       01/05/02 19:24:59

  Modified:    src/os/win32 os.h
               src/ap   ap_snprintf.c
  Log:
    Resolve isnan and isfnf for Win32
  
  Revision  Changes    Path
  1.40      +4 -0      apache-1.3/src/os/win32/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/win32/os.h,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- os.h	2001/02/14 14:22:10	1.39
  +++ os.h	2001/05/03 02:24:58	1.40
  @@ -207,6 +207,10 @@
   /* Other ap_os_ routines not used by this platform */
   #define ap_os_kill(pid, sig)                kill(pid, sig)
   
  +/* Some Win32isms */
  +#define isnan(n) _isnan(n)
  +#define isinf(n) (!_finite(n))
  +
   #endif /* WIN32 */
   
   #endif   /* ! APACHE_OS_H */
  
  
  
  1.45      +3 -0      apache-1.3/src/ap/ap_snprintf.c
  
  Index: ap_snprintf.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/ap/ap_snprintf.c,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- ap_snprintf.c	2001/04/27 13:01:28	1.44
  +++ ap_snprintf.c	2001/05/03 02:24:59	1.45
  @@ -73,6 +73,9 @@
   #include <string.h>
   #include <stdlib.h>
   #include <math.h>
  +#ifdef WIN32
  +#include <float.h>
  +#endif
   
   typedef enum {
       NO = 0, YES = 1
  
  
  

Mime
View raw message