2
* O/S-dependent (mis)feature macro definitions
4
* $Xorg: Xosdefs.h,v 1.5 2001/02/09 02:03:23 xorgcvs Exp $
6
Copyright 1991, 1998 The Open Group
8
Permission to use, copy, modify, distribute, and sell this software and its
9
documentation for any purpose is hereby granted without fee, provided that
10
the above copyright notice appear in all copies and that both that
11
copyright notice and this permission notice appear in supporting
14
The above copyright notice and this permission notice shall be included in
15
all copies or substantial portions of the Software.
17
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
Except as contained in this notice, the name of The Open Group shall not be
25
used in advertising or otherwise to promote the sale, use or other dealings
26
in this Software without prior written authorization from The Open Group.
28
/* $XFree86: xc/include/Xosdefs.h,v 3.19 2001/12/19 21:37:28 dawes Exp $ */
34
* X_NOT_STDC_ENV means does not have ANSI C header files. Lack of this
35
* symbol does NOT mean that the system has stdarg.h.
37
* X_NOT_POSIX means does not have POSIX header files. Lack of this
38
* symbol does NOT mean that the POSIX environment is the default.
39
* You may still have to define _POSIX_SOURCE to get it.
44
#define X_NOT_STDC_ENV
48
#if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV)
55
#define X_NOT_STDC_ENV
59
#ifndef ultrix /* assume vanilla BSD */
61
#define X_NOT_STDC_ENV
67
#define X_NOT_STDC_ENV
72
#define X_NOT_STDC_ENV
76
#ifdef SYSV /* (release 3.2) */
78
#define X_NOT_STDC_ENV
84
#if !defined(ISC) && !defined(SCO) && !defined(_SEQUENT_)
85
#if !defined(_POSIX_SOURCE) && !defined(_SCO_DS)
88
#define X_NOT_STDC_ENV
95
#define X_NOT_STDC_ENV
100
/* Imake configs define SVR4 on Solaris, but cc & gcc only define __SVR4
101
* This check allows non-Imake configured programs to build correctly.
103
#if defined(__SVR4) && !defined(SVR4)
107
/* define this to whatever it needs to be */
108
#define X_POSIX_C_SOURCE 199300L
118
#if defined(nec_ews_svr2) || defined(SX) || defined(PC_UX)
120
#define X_NOT_STDC_ENV
125
#define NULL_NOT_ZERO
129
#define NULL_NOT_ZERO
134
#define PATH_MAX 4096
137
#define MAXPATHLEN 4096
140
#endif /* _XOSDEFS_H_ */