diff options
author | Kean Johnson <kean@armory.com> | 2005-06-10 06:54:09 +0000 |
---|---|---|
committer | Kean Johnson <kean@armory.com> | 2005-06-10 06:54:09 +0000 |
commit | a7654e9662abe05bc1246606185b4ebb20c7bde4 (patch) | |
tree | b1f04f6356d5c1a2b782e3a6c7a53e7a7cf3d642 /xmore.c | |
parent | 8b721c45d8f8681e59ca145d1ed3839d1b312a99 (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.
Diffstat (limited to 'xmore.c')
-rw-r--r-- | xmore.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; |