diff options
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 |