]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Added #define's for isnan() and isinf() since these functions do not exist
authorBradley Nicholes <bnicholes@apache.org>
Fri, 27 Apr 2001 16:13:35 +0000 (16:13 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Fri, 27 Apr 2001 16:13:35 +0000 (16:13 +0000)
on NetWare.  This fixes the unresolved link errors.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@88953 13f79535-47bb-0310-9956-ffa450edef68

src/os/netware/os.h

index 921a3144915262a16c72c929419d98c99a142cae..cfd5e19a6e8a05c982df6fae8a4b39bebf64b135 100644 (file)
@@ -115,6 +115,9 @@ typedef int gid_t;
 #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)