Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
NASA Logo
Ocean Color Science Software

ocssw V2022
Xosdefs.h
Go to the documentation of this file.
1 /*
2  * O/S-dependent (mis)feature macro definitions
3  *
4  * $XConsortium: Xosdefs.h,v 1.7 91/07/19 23:22:19 rws Exp $
5  *
6  * Copyright 1991 Massachusetts Institute of Technology
7  *
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
12  * documentation, and that the name of M.I.T. not be used in advertising or
13  * publicity pertaining to distribution of the software without specific,
14  * written prior permission. M.I.T. makes no representations about the
15  * suitability of this software for any purpose. It is provided "as is"
16  * without express or implied warranty.
17  *
18  * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
19  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
20  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
22  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
23  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24  */
25 
26 #ifndef _XOSDEFS_H_
27 #define _XOSDEFS_H_
28 
29 /*
30  * X_NOT_STDC_ENV means does not have ANSI C header files. Lack of this
31  * symbol does NOT mean that the system has stdarg.h.
32  *
33  * X_NOT_POSIX means does not have POSIX header files. Lack of this
34  * symbol does NOT mean that the POSIX environment is the default.
35  * You may still have to define _POSIX_SOURCE to get it.
36  */
37 
38 #ifdef NOSTDHDRS
39 #define X_NOT_POSIX
40 #define X_NOT_STDC_ENV
41 #endif
42 
43 #ifdef sony
44 #ifndef SYSTYPE_SYSV
45 #define X_NOT_POSIX
46 #endif
47 #endif
48 
49 #ifdef UTEK
50 #define X_NOT_POSIX
51 #define X_NOT_STDC_ENV
52 #endif
53 
54 #ifdef CRAY
55 #define X_NOT_POSIX
56 #endif
57 
58 #ifdef vax
59 #ifndef ultrix /* assume vanilla BSD */
60 #define X_NOT_POSIX
61 #define X_NOT_STDC_ENV
62 #endif
63 #endif
64 
65 #ifdef luna
66 #define X_NOT_POSIX
67 #define X_NOT_STDC_ENV
68 #endif
69 
70 #ifdef Mips
71 #define X_NOT_POSIX
72 #define X_NOT_STDC_ENV
73 #endif
74 
75 #ifdef USL
76 #ifdef SYSV /* (release 3.2) */
77 #define X_NOT_POSIX
78 #define X_NOT_STDC_ENV
79 #endif
80 #endif
81 
82 #ifdef SYSV386
83 #ifdef SYSV
84 #define X_NOT_POSIX
85 #define X_NOT_STDC_ENV
86 #endif
87 #endif
88 
89 #ifdef MOTOROLA
90 #ifdef SYSV
91 #define X_NOT_STDC_ENV
92 #endif
93 #endif
94 
95 #endif /* _XOSDEFS_H_ */