00001 /* CPP Library. 00002 Copyright (C) 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 00003 1999, 2000, 2003, 2004, 2006 Free Software Foundation, Inc. 00004 Contributed by Per Bothner, 1994-95. 00005 Based on CCCP program by Paul Rubin, June 1986 00006 Adapted to ANSI C, Richard Stallman, Jan 1987 00007 00008 This program is free software; you can redistribute it and/or modify it 00009 under the terms of the GNU General Public License as published by the 00010 Free Software Foundation; either version 2, or (at your option) any 00011 later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program; if not, write to the Free Software 00020 Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 00021 00022 #ifndef GCC_CPPDEFAULT_H 00023 #define GCC_CPPDEFAULT_H 00024 00025 /* This is the default list of directories to search for include files. 00026 It may be overridden by the various -I and -ixxx options. 00027 00028 #include "file" looks in the same directory as the current file, 00029 then this list. 00030 #include <file> just looks in this list. 00031 00032 All these directories are treated as `system' include directories 00033 (they are not subject to pedantic warnings in some cases). */ 00034 00035 struct default_include 00036 { 00037 const char *const fname; /* The name of the directory. */ 00038 const char *const component; /* The component containing the directory 00039 (see update_path in prefix.c) */ 00040 const char cplusplus; /* Only look here if we're compiling C++. */ 00041 const char cxx_aware; /* Includes in this directory don't need to 00042 be wrapped in extern "C" when compiling 00043 C++. */ 00044 const char add_sysroot; /* FNAME should be prefixed by 00045 cpp_SYSROOT. */ 00046 const char multilib; /* FNAME should have the multilib path 00047 specified with -imultilib 00048 appended. */ 00049 }; 00050 00051 extern const struct default_include cpp_include_defaults[]; 00052 extern const char cpp_GCC_INCLUDE_DIR[]; 00053 extern const size_t cpp_GCC_INCLUDE_DIR_len; 00054 00055 #endif /* ! GCC_CPPDEFAULT_H */
1.5.6