190075Sobrien/* CPP Library. 290075Sobrien Copyright (C) 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3169689Skan 1999, 2000, 2003, 2004, 2006 Free Software Foundation, Inc. 490075Sobrien Contributed by Per Bothner, 1994-95. 590075Sobrien Based on CCCP program by Paul Rubin, June 1986 690075Sobrien Adapted to ANSI C, Richard Stallman, Jan 1987 790075Sobrien 890075SobrienThis program is free software; you can redistribute it and/or modify it 990075Sobrienunder the terms of the GNU General Public License as published by the 1090075SobrienFree Software Foundation; either version 2, or (at your option) any 1190075Sobrienlater version. 1290075Sobrien 1390075SobrienThis program is distributed in the hope that it will be useful, 1490075Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of 1590075SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1690075SobrienGNU General Public License for more details. 1790075Sobrien 1890075SobrienYou should have received a copy of the GNU General Public License 1990075Sobrienalong with this program; if not, write to the Free Software 20169689SkanFoundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 2190075Sobrien 2290075Sobrien#ifndef GCC_CPPDEFAULT_H 2390075Sobrien#define GCC_CPPDEFAULT_H 2490075Sobrien 2590075Sobrien/* This is the default list of directories to search for include files. 2690075Sobrien It may be overridden by the various -I and -ixxx options. 2790075Sobrien 2890075Sobrien #include "file" looks in the same directory as the current file, 2990075Sobrien then this list. 3090075Sobrien #include <file> just looks in this list. 3190075Sobrien 3290075Sobrien All these directories are treated as `system' include directories 3390075Sobrien (they are not subject to pedantic warnings in some cases). */ 3490075Sobrien 3590075Sobrienstruct default_include 3690075Sobrien{ 3790075Sobrien const char *const fname; /* The name of the directory. */ 3890075Sobrien const char *const component; /* The component containing the directory 3990075Sobrien (see update_path in prefix.c) */ 40132718Skan const char cplusplus; /* Only look here if we're compiling C++. */ 41132718Skan const char cxx_aware; /* Includes in this directory don't need to 4290075Sobrien be wrapped in extern "C" when compiling 4390075Sobrien C++. */ 44132718Skan const char add_sysroot; /* FNAME should be prefixed by 45132718Skan cpp_SYSROOT. */ 46169689Skan const char multilib; /* FNAME should have the multilib path 47169689Skan specified with -imultilib 48169689Skan appended. */ 4990075Sobrien}; 5090075Sobrien 5190075Sobrienextern const struct default_include cpp_include_defaults[]; 5290075Sobrienextern const char cpp_GCC_INCLUDE_DIR[]; 5390075Sobrienextern const size_t cpp_GCC_INCLUDE_DIR_len; 5490075Sobrien 5590075Sobrien#endif /* ! GCC_CPPDEFAULT_H */ 56