summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKean Johnson <kean@armory.com>2005-06-10 06:54:09 +0000
committerKean Johnson <kean@armory.com>2005-06-10 06:54:09 +0000
commita7654e9662abe05bc1246606185b4ebb20c7bde4 (patch)
treeb1f04f6356d5c1a2b782e3a6c7a53e7a7cf3d642
parent8b721c45d8f8681e59ca145d1ed3839d1b312a99 (diff)
SCO port update for SCO OpenServer 5 and UnixWare 7. A few general cleanupssco_port_update
and bugs not specifically related to the port fixed along the way.
-rw-r--r--xmore.c8
1 files changed, 8 insertions, 0 deletions
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;