1
/* @(#)standard.h 1.31 03/08/23 Copyright 1985 J. Schilling */
5
* This file should be included past:
9
* stdlib.h (better use stdxlib.h)
10
* unistd.h (better use unixstd.h) needed LARGEFILE support
12
* If you need stdio.h, you must include it before standard.h
14
* Copyright (c) 1985 J. Schilling
17
* This program is free software; you can redistribute it and/or modify
18
* it under the terms of the GNU General Public License as published by
19
* the Free Software Foundation; either version 2, or (at your option)
22
* This program is distributed in the hope that it will be useful,
23
* but WITHOUT ANY WARRANTY; without even the implied warranty of
24
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
* GNU General Public License for more details.
27
* You should have received a copy of the GNU General Public License along with
28
* this program; see the file COPYING. If not, write to the Free Software
29
* Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
49
* fundamental constants
65
* standard storage class definitions
84
#endif /* PROTOTYPES */
87
* standard type definitions
89
* The hidden Schily BOOL definition is used in case we need to deal
90
* with other BOOL defines on systems we like to port to.
108
#if defined(_INCL_SYS_TYPES_H) || defined(off_t)
113
#if defined(_INCL_SYS_TYPES_H) || defined(size_t)
114
# ifndef FOUND_SIZE_T
115
# define FOUND_SIZE_T
121
* It turns out that we cannot use the folloginw definition because there are
122
* some platforms that do not behave application friendly. These are mainly
123
* BSD-4.4 based systems (which #undef a definition when size_t is available.
124
* We actually removed this code because of a problem with QNX Neutrino.
125
* For this reason, it is important not to include <sys/types.h> directly but
126
* via the Schily SING include files so we know whether it has been included
127
* before we come here.
129
#if defined(_SIZE_T) || defined(_T_SIZE_) || defined(_T_SIZE) || \
130
defined(__SIZE_T) || defined(_SIZE_T_) || \
131
defined(_GCC_SIZE_T) || defined(_SIZET_) || \
132
defined(__sys_stdtypes_h) || defined(___int_size_t_h) || defined(size_t)
135
# define FOUND_SIZE_T /* We already included a size_t definition */
138
#endif /* __never_def__ */
140
#if defined(_JOS) || defined(JOS)
146
# include <jos_defs.h>
154
#endif /* _STANDARD_H */