2 * O/S-dependent (mis)feature macro definitions
4 * $XConsortium: Xosdefs.h,v 1.14 94/11/30 20:48:05 kaleb Exp $
5 * $XFree86: xc/include/Xosdefs.h,v 3.7 1995/01/28 15:42:05 dawes Exp $
7 Copyright (c) 1991 X Consortium
9 Permission is hereby granted, free of charge, to any person obtaining a copy
10 of this software and associated documentation files (the "Software"), to deal
11 in the Software without restriction, including without limitation the rights
12 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13 copies of the Software, and to permit persons to whom the Software is
14 furnished to do so, subject to the following conditions:
16 The above copyright notice and this permission notice shall be included in
17 all copies or substantial portions of the Software.
19 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 Except as contained in this notice, the name of the X Consortium shall not be
27 used in advertising or otherwise to promote the sale, use or other dealings
28 in this Software without prior written authorization from the X Consortium.
35 * X_NOT_STDC_ENV means does not have ANSI C header files. Lack of this
36 * symbol does NOT mean that the system has stdarg.h.
38 * X_NOT_POSIX means does not have POSIX header files. Lack of this
39 * symbol does NOT mean that the POSIX environment is the default.
40 * You may still have to define _POSIX_SOURCE to get it.
45 #define X_NOT_STDC_ENV
49 #if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV)
56 #define X_NOT_STDC_ENV
60 #ifndef ultrix /* assume vanilla BSD */
62 #define X_NOT_STDC_ENV
68 #define X_NOT_STDC_ENV
73 #define X_NOT_STDC_ENV
77 #ifdef SYSV /* (release 3.2) */
79 #define X_NOT_STDC_ENV
88 #define X_NOT_STDC_ENV
94 #define X_NOT_STDC_ENV
100 /* define this to whatever it needs to be */
101 #define X_POSIX_C_SOURCE 199300L
117 #if defined(nec_ews_svr2) || defined(SX) || defined(PC_UX)
119 #define X_NOT_STDC_ENV
126 #endif /* _XOSDEFS_H_ */