summaryrefslogtreecommitdiff
path: root/Xos.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-06-12 11:55:37 -0400
committerAdam Jackson <ajax@redhat.com>2009-06-12 12:21:12 -0400
commitced38e880b54f2aae31a5354aecb4235a129f0a4 (patch)
treed08cc75859c1508e7d0c157b84436e20c3d2fb19 /Xos.h
parent3fc87608d4b3f85d0dbd44ee9040d5ab60130bea (diff)
downloadxorg-proto-x11proto-ced38e880b54f2aae31a5354aecb4235a129f0a4.tar.gz
Remove all trace of X_NOT_STDC_ENV (#6527)
Seriously C89 already you guys.
Diffstat (limited to 'Xos.h')
-rw-r--r--Xos.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Xos.h b/Xos.h
index 4a4f887..27ef9e3 100644
--- a/Xos.h
+++ b/Xos.h
@@ -85,8 +85,6 @@ in this Software without prior written authorization from The Open Group.
* which can be really inconvenient. :-(
*/
-#ifndef X_NOT_STDC_ENV
-
#include <string.h>
#if defined(__SCO__) || defined(__UNIXWARE__)
#include <strings.h>
@@ -126,12 +124,10 @@ in this Software without prior written authorization from The Open Group.
#define strrchr rindex
#endif
-#endif /* X_NOT_STDC_ENV */
-
/*
* strerror()
*/
-#if (defined(X_NOT_STDC_ENV) || (defined(sun) && !defined(SVR4))) && !defined(__GLIBC__)
+#if (defined(sun) && !defined(SVR4)) && !defined(__GLIBC__)
#ifndef strerror
extern char *sys_errlist[];
extern int sys_nerr;