Revision: 55543
          http://sourceforge.net/p/brlcad/code/55543
Author:   brlcad
Date:     2013-05-23 03:09:49 +0000 (Thu, 23 May 2013)
Log Message:
-----------
quell mass of openindiana warnings for NAME_MAX not being defined

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 02:50:01 UTC 
(rev 55542)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_system.h 2013-05-23 03:09:49 UTC 
(rev 55543)
@@ -249,6 +249,11 @@
 #include <limits.h>
 #include <ctype.h>
 
+/* limits.h (sys/syslimits.h) should define this, but some don't */
+#ifndef NAME_MAX
+#  define NAME_MAX 255
+#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