diff options
author | Kean Johnson <kean@armory.com> | 2005-11-08 06:33:25 +0000 |
---|---|---|
committer | Kean Johnson <kean@armory.com> | 2005-11-08 06:33:25 +0000 |
commit | 448763bde4a31cb012ad17cd6c5159411102432b (patch) | |
tree | 8c76f983df87ad2f661c10143829095f25c101e5 /Xosdefs.h | |
parent | 59a5a5ebb6781d417d7a4d5905999da5fc76a083 (diff) |
See ChangeLog entry 2005-11-07 for details.
Diffstat (limited to 'Xosdefs.h')
-rw-r--r-- | Xosdefs.h | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -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 |