You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2001/04/27 18:13:36 UTC

cvs commit: apache-1.3/src/os/netware os.h

bnicholes    01/04/27 09:13:36

  Modified:    src/os/netware os.h
  Log:
  Added #define's for isnan() and isinf() since these functions do not exist
  on NetWare.  This fixes the unresolved link errors.
  
  Revision  Changes    Path
  1.16      +3 -0      apache-1.3/src/os/netware/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/netware/os.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- os.h	2001/03/31 00:02:26	1.15
  +++ os.h	2001/04/27 16:13:35	1.16
  @@ -115,6 +115,9 @@
   #define getpid GetThreadID
   /* Netware doesn't have symlinks so S_ISLNK is always false */
   #define S_ISLNK(m) 0
  +/* Netware doesn't have isnan,isinf so they always return false */
  +#define isnan(m) 0
  +#define isinf(m) 0
   #define lstat(x, y) stat(x, y)
   #define strcasecmp(s1, s2) stricmp(s1, s2)
   #define strncasecmp(s1, s2, n) strnicmp(s1, s2, n)