[commit] r2121 - use limits.h to get PATH_MAX

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[commit] r2121 - use limits.h to get PATH_MAX

commits-3
 
Author: piumarta
Date: 2009-08-31 14:25:22 -0700 (Mon, 31 Aug 2009)
New Revision: 2121

Modified:
   trunk/platforms/unix/ChangeLog
   trunk/platforms/unix/vm/sqUnixExternalPrims.c
Log:
use limits.h to get PATH_MAX

Modified: trunk/platforms/unix/ChangeLog
===================================================================
--- trunk/platforms/unix/ChangeLog 2009-08-31 20:29:49 UTC (rev 2120)
+++ trunk/platforms/unix/ChangeLog 2009-08-31 21:25:22 UTC (rev 2121)
@@ -1,3 +1,8 @@
+2009-08-31  Ian Piumarta  <com -dot- gmail -at- piumarta (backwards)>
+
+ * vm/sqUnixExternalPrims.c: Include limits.h instead of
+ sys/param.h to get PATH_MAX.
+
 2009-08-31    <[hidden email]>
 
  * vm/config.cmake: Disable OpenGL and AGL if --without-gl.

Modified: trunk/platforms/unix/vm/sqUnixExternalPrims.c
===================================================================
--- trunk/platforms/unix/vm/sqUnixExternalPrims.c 2009-08-31 20:29:49 UTC (rev 2120)
+++ trunk/platforms/unix/vm/sqUnixExternalPrims.c 2009-08-31 21:25:22 UTC (rev 2121)
@@ -24,7 +24,7 @@
  *   SOFTWARE.
  */
 
-/* Last edited: 2009-08-30 16:40:06 by piumarta on ubuntu.piumarta.com
+/* Last edited: 2009-08-31 13:57:04 by piumarta on emilia-3.local
  */
 
 #define DEBUG 0
@@ -52,7 +52,7 @@
   extern int dlclose (void *handle);
 #endif
 
-#include <sys/param.h>
+#include <limits.h>
 #include <sys/stat.h>
 
 /* get a value for RTLD_NOW, with increasing levels of desperation... */