From a7654e9662abe05bc1246606185b4ebb20c7bde4 Mon Sep 17 00:00:00 2001 From: Kean Johnson Date: Fri, 10 Jun 2005 06:54:09 +0000 Subject: SCO port update for SCO OpenServer 5 and UnixWare 7. A few general cleanups and bugs not specifically related to the port fixed along the way. --- xmore.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xmore.c') diff --git a/xmore.c b/xmore.c index 67be5e8..1b34c61 100644 --- a/xmore.c +++ b/xmore.c @@ -53,6 +53,14 @@ in this Software without prior written authorization from The Open Group. #define Assertion(expr, msg) { if (!(expr)) { Error msg } } #define Log(x) { if (userOptions.verbose) printf x; } +#ifndef PATH_MAX +# ifdef MAXPATHLEN +# define PATH_MAX MAXPATHLEN +# else +# define PATH_MAX 1024 /* Good enough for most systems */ +# endif +#endif + /* Global vars */ static Widget printdialog_shell = NULL; static Widget printdialog = NULL; -- cgit v1.2.3