Revision: 55544
          http://sourceforge.net/p/brlcad/code/55544
Author:   brlcad
Date:     2013-05-23 03:33:50 +0000 (Thu, 23 May 2013)
Log Message:
-----------
also provide isfinite(), but comment out both so they can be specifically tested

Modified Paths:
--------------
    brlcad/trunk/src/other/openNURBS/opennurbs_system.h

Modified: brlcad/trunk/src/other/openNURBS/opennurbs_system.h
===================================================================
--- brlcad/trunk/src/other/openNURBS/opennurbs_system.h 2013-05-23 03:09:49 UTC 
(rev 55543)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_system.h 2013-05-23 03:33:50 UTC 
(rev 55544)
@@ -249,11 +249,18 @@
 #include <limits.h>
 #include <ctype.h>
 
+/* these are for openindiana (opensolaris fork) */
+#if 0
 /* limits.h (sys/syslimits.h) should define this, but some don't */
 #ifndef NAME_MAX
 #  define NAME_MAX 255
 #endif
 
+#ifndef isfinite
+#  define isfinite(x) (fpclassify(x) & (FP_NORMAL | FP_SUBNORMAL | FP_ZERO))
+#endif
+#endif
+
 #if defined(ON_COMPILER_IRIX) || defined(ON_COMPILER_SUN)
 #include <alloca.h>
 #endif

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to