]> git.mdlowis.com Git - projs/onward.git/commitdiff
Defined PATH_MAX for systems that dont define it
authorMichael D. Lowis <mike.lowis@gentex.com>
Tue, 16 Dec 2014 14:07:49 +0000 (09:07 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Tue, 16 Dec 2014 14:07:49 +0000 (09:07 -0500)
source/onward.c

index 7c48e4e9c840000532afd5277a115a62134052cd..0037399f92219c46c1dbc45de45e3cf364a34c22 100755 (executable)
@@ -663,6 +663,10 @@ static syscall_fn_t System_Calls[7] = {
 #include <string.h>
 #include <stdarg.h>
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 static bool Newline_Consumed = false;
 value_t Argument_Stack[ARG_STACK_SZ];
 value_t Return_Stack[RET_STACK_SZ];