summaryrefslogtreecommitdiff
path: root/source4/lib/appweb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-14 07:04:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:04 -0500
commitfa2b97a20a518708e4534e8aa2cce12024228488 (patch)
treeb3e803a401b64db1b5b425309ebeb31198036fd7 /source4/lib/appweb
parentaf0574378b3e73ffe637618e2f504d58735d6543 (diff)
downloadsamba-fa2b97a20a518708e4534e8aa2cce12024228488.tar.gz
samba-fa2b97a20a518708e4534e8aa2cce12024228488.tar.bz2
samba-fa2b97a20a518708e4534e8aa2cce12024228488.zip
r8451: samba4 finally builds on solaris 8 sparc with heimdal and ejs
its been a long haul ... (This used to be commit 3c4291e49abed14973b4a4fa1a9277918b896cac)
Diffstat (limited to 'source4/lib/appweb')
-rw-r--r--source4/lib/appweb/mpr/var.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/lib/appweb/mpr/var.c b/source4/lib/appweb/mpr/var.c
index 533248dd06..d3d21f7eee 100644
--- a/source4/lib/appweb/mpr/var.c
+++ b/source4/lib/appweb/mpr/var.c
@@ -2165,8 +2165,10 @@ bool mprIsNan(double f)
#elif VXWORKS
/* FUTURE */
return (0);
-#else
+#elif defined(FP_NAN)
return (f == FP_NAN);
+#else
+ return 0;
#endif
}
/******************************************************************************/
@@ -2178,8 +2180,10 @@ bool mprIsInfinite(double f)
#elif VXWORKS
/* FUTURE */
return (0);
-#else
+#elif defined(FP_INFINITE)
return (f == FP_INFINITE);
+#else
+ return 0;
#endif
}