summaryrefslogtreecommitdiff
path: root/Xos.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-03-05 15:12:26 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-03-05 15:12:26 -0800
commit32d14e349964c5b16e83eda902d9724aac380b59 (patch)
tree782d8148ed98c50cdfac64b1691c62bc67a941d0 /Xos.h
parent034319189648eaaa483f9546c62451edb7be0c28 (diff)
downloadxorg-proto-x11proto-32d14e349964c5b16e83eda902d9724aac380b59.tar.gz
Remove #ifdef macII code left over from ancient A/UX 3.0 support
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'Xos.h')
-rw-r--r--Xos.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Xos.h b/Xos.h
index 67bf679..2afd318 100644
--- a/Xos.h
+++ b/Xos.h
@@ -135,7 +135,7 @@ in this Software without prior written authorization from The Open Group.
/*
* strerror()
*/
-#if (defined(X_NOT_STDC_ENV) || (defined(sun) && !defined(SVR4)) || defined(macII)) && !defined(__GLIBC__)
+#if (defined(X_NOT_STDC_ENV) || (defined(sun) && !defined(SVR4))) && !defined(__GLIBC__)
#ifndef strerror
extern char *sys_errlist[];
extern int sys_nerr;
@@ -158,15 +158,8 @@ extern int sys_nerr;
#include <sys/file.h>
#endif
#else /* X_NOT_POSIX */
-#if !defined(_POSIX_SOURCE) && defined(macII)
-#define _POSIX_SOURCE
-#include <fcntl.h>
-#include <unistd.h>
-#undef _POSIX_SOURCE
-#else
#include <fcntl.h>
#include <unistd.h>
-#endif
#endif /* X_NOT_POSIX else */
/*