2 /* Install modified versions of certain ANSI-incompatible system header
3 files which are fixed to work correctly with ANSI C and placed in a
4 directory that GNU C will search.
6 Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
8 This file is part of GNU CC.
10 GNU CC is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2, or (at your option)
15 GNU CC is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with GNU CC; see the file COPYING. If not, write to
22 the Free Software Foundation, 59 Temple Place - Suite 330,
23 Boston, MA 02111-1307, USA. */
25 #ifndef FIXINCLUDES_FIXLIB_H
26 #define FIXINCLUDES_FIXLIB_H
28 #include "auto-host.h"
29 #include "gansidecl.h"
32 #include "gnu-regex.h"
35 # define STDIN_FILENO 0
38 # define STDOUT_FILENO 1
41 typedef int t_success
;
47 #define SUCCEEDED(p) ((p) == SUCCESS)
48 #define SUCCESSFUL(p) SUCCEEDED (p)
49 #define FAILED(p) ((p) < SUCCESS)
50 #define HADGLITCH(p) ((p) > SUCCESS)
53 #define tSCC static const char
54 #define tCC const char
55 #define tSC static char
57 /* If this particular system's header files define the macro `MAXPATHLEN',
58 we happily take advantage of it; otherwise we use a value which ought
59 to be large enough. */
61 # define MAXPATHLEN 4096
65 # define EXIT_SUCCESS 0
68 # define EXIT_FAILURE 1
74 #define NOPROCESS ((pid_t) -1)
75 #define NULLPROCESS ((pid_t)0)
79 #ifndef HAVE_T_BOOL_ENUM
80 #define HAVE_T_BOOL_ENUM
93 char * load_file_data
_P_(( FILE* fp
));
95 #endif /* FIXINCLUDES_FIXLIB_H */