summaryrefslogtreecommitdiff
path: root/Xosdefs.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 /Xosdefs.h
parent3fc87608d4b3f85d0dbd44ee9040d5ab60130bea (diff)
Remove all trace of X_NOT_STDC_ENV (#6527)
Seriously C89 already you guys.
Diffstat (limited to 'Xosdefs.h')
-rw-r--r--Xosdefs.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/Xosdefs.h b/Xosdefs.h
index 80b1be5..8cdac56 100644
--- a/Xosdefs.h
+++ b/Xosdefs.h
@@ -28,54 +28,17 @@ in this Software without prior written authorization from The Open Group.
#define _XOSDEFS_H_
/*
- * X_NOT_STDC_ENV means does not have ANSI C header files. Lack of this
- * symbol does NOT mean that the system has stdarg.h.
- *
* X_NOT_POSIX means does not have POSIX header files. Lack of this
* symbol does NOT mean that the POSIX environment is the default.
* You may still have to define _POSIX_SOURCE to get it.
*/
-#ifdef NOSTDHDRS
-#define X_NOT_POSIX
-#define X_NOT_STDC_ENV
-#endif
-
#ifdef sony
#if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV)
#define X_NOT_POSIX
#endif
#endif
-#ifdef UTEK
-#define X_NOT_POSIX
-#define X_NOT_STDC_ENV
-#endif
-
-#ifdef vax
-#ifndef ultrix /* assume vanilla BSD */
-#define X_NOT_POSIX
-#define X_NOT_STDC_ENV
-#endif
-#endif
-
-#ifdef luna
-#define X_NOT_POSIX
-#define X_NOT_STDC_ENV
-#endif
-
-#ifdef Mips
-#define X_NOT_POSIX
-#define X_NOT_STDC_ENV
-#endif
-
-#ifdef USL
-#ifdef SYSV /* (release 3.2) */
-#define X_NOT_POSIX
-#define X_NOT_STDC_ENV
-#endif
-#endif
-
#ifdef _SCO_DS
#ifndef __SCO__
#define __SCO__
@@ -89,17 +52,10 @@ in this Software without prior written authorization from The Open Group.
#if !defined(_POSIX_SOURCE)
#define X_NOT_POSIX
#endif
-#define X_NOT_STDC_ENV
#endif
#endif
#endif
-#ifdef MOTOROLA
-#ifdef SYSV
-#define X_NOT_STDC_ENV
-#endif
-#endif
-
#ifdef sun
/* Imake configs define SVR4 on Solaris, but cc & gcc only define __SVR4
* This check allows non-Imake configured programs to build correctly.
@@ -119,11 +75,6 @@ in this Software without prior written authorization from The Open Group.
#endif
#endif
-#if defined(nec_ews_svr2) || defined(SX) || defined(PC_UX)
-#define X_NOT_POSIX
-#define X_NOT_STDC_ENV
-#endif
-
#ifdef __UNIXOS2__
#define USGISH
#define NULL_NOT_ZERO