summaryrefslogtreecommitdiff
path: root/Xosdefs.h
diff options
context:
space:
mode:
authorKean Johnson <kean@armory.com>2005-11-08 06:33:25 +0000
committerKean Johnson <kean@armory.com>2005-11-08 06:33:25 +0000
commit448763bde4a31cb012ad17cd6c5159411102432b (patch)
tree8c76f983df87ad2f661c10143829095f25c101e5 /Xosdefs.h
parent59a5a5ebb6781d417d7a4d5905999da5fc76a083 (diff)
See ChangeLog entry 2005-11-07 for details.
Diffstat (limited to 'Xosdefs.h')
-rw-r--r--Xosdefs.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/Xosdefs.h b/Xosdefs.h
index c192068..075d798 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -81,18 +81,16 @@ in this Software without prior written authorization from The Open Group.
#endif
#ifdef _SCO_DS
-#ifndef SCO
-#define SCO
-#endif
-#ifndef SCO325
-#define SCO325
+#ifndef __SCO__
+#define __SCO__
#endif
#endif
#ifdef i386
#ifdef SYSV
-#if !defined(ISC) && !defined(SCO) && !defined(_SEQUENT_) && !defined(sun)
-#if !defined(_POSIX_SOURCE) && !defined(_SCO_DS)
+#if !defined(ISC) && !defined(__SCO__) && !defined(_SEQUENT_) && \
+ !defined(__UNIXWARE__) && !defined(sun)
+#if !defined(_POSIX_SOURCE)
#define X_NOT_POSIX
#endif
#define X_NOT_STDC_ENV
@@ -148,6 +146,15 @@ in this Software without prior written authorization from The Open Group.
#endif
#endif
+#if defined(__SCO__) || defined(__UNIXWARE__)
+# ifndef PATH_MAX
+# define PATH_MAX 1024
+# endif
+# ifndef MAXPATHLEN
+# define MAXPATHLEN 1024
+# endif
+#endif
+
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) \
|| defined(__Darwin__) || defined(__DragonFly__)
# ifndef CSRG_BASED