summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-06-14 08:31:13 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-06-14 08:40:53 -0700
commit1f59b5f8eac522bb0a5155393224496c39deca42 (patch)
treed55dd3ecb7f8b0a062cd30523deedca11930f226
parent4435ea3d806f5b9cd66b563a6b751ac5020404e3 (diff)
Removing dangling #else block from X_NOT_STDC_ENV removal
Fixes mass damage caused by ced38e880b54f2aae31a5354aecb4235a129f0a4 moving the includes for unistd.h, fcntl.h, etc. from the else for X_NOT_STDC_ENV into the #else for #ifndef _XOS_H_, which made them go away for everyone. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--Xos.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/Xos.h b/Xos.h
index 85486a9..2fbe07d 100644
--- a/Xos.h
+++ b/Xos.h
@@ -81,18 +81,6 @@ in this Software without prior written authorization from The Open Group.
#endif
#endif
-#else
-
-#ifdef SYSV
-#include <string.h>
-#define index strchr
-#define rindex strrchr
-#else
-#include <strings.h>
-#define strchr index
-#define strrchr rindex
-#endif
-
/*
* strerror()
*/