cppdefault.h revision 132718
1204076Spjd/* CPP Library. 2204076Spjd Copyright (C) 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3211877Spjd 1999, 2000, 2003 Free Software Foundation, Inc. 4204076Spjd Contributed by Per Bothner, 1994-95. 5204076Spjd Based on CCCP program by Paul Rubin, June 1986 6204076Spjd Adapted to ANSI C, Richard Stallman, Jan 1987 7204076Spjd 8204076SpjdThis program is free software; you can redistribute it and/or modify it 9204076Spjdunder the terms of the GNU General Public License as published by the 10204076SpjdFree Software Foundation; either version 2, or (at your option) any 11204076Spjdlater version. 12204076Spjd 13204076SpjdThis program is distributed in the hope that it will be useful, 14204076Spjdbut WITHOUT ANY WARRANTY; without even the implied warranty of 15204076SpjdMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16204076SpjdGNU General Public License for more details. 17204076Spjd 18204076SpjdYou should have received a copy of the GNU General Public License 19204076Spjdalong with this program; if not, write to the Free Software 20204076SpjdFoundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 21204076Spjd 22204076Spjd#ifndef GCC_CPPDEFAULT_H 23204076Spjd#define GCC_CPPDEFAULT_H 24204076Spjd 25204076Spjd/* This is the default list of directories to search for include files. 26204076Spjd It may be overridden by the various -I and -ixxx options. 27204076Spjd 28204076Spjd #include "file" looks in the same directory as the current file, 29204076Spjd then this list. 30204076Spjd #include <file> just looks in this list. 31204076Spjd 32204076Spjd All these directories are treated as `system' include directories 33204076Spjd (they are not subject to pedantic warnings in some cases). */ 34204076Spjd 35204076Spjdstruct default_include 36204076Spjd{ 37204076Spjd const char *const fname; /* The name of the directory. */ 38204076Spjd const char *const component; /* The component containing the directory 39204076Spjd (see update_path in prefix.c) */ 40204076Spjd const char cplusplus; /* Only look here if we're compiling C++. */ 41204076Spjd const char cxx_aware; /* Includes in this directory don't need to 42204076Spjd be wrapped in extern "C" when compiling 43204076Spjd C++. */ 44204076Spjd const char add_sysroot; /* FNAME should be prefixed by 45213009Spjd cpp_SYSROOT. */ 46204076Spjd}; 47204076Spjd 48204076Spjdextern const struct default_include cpp_include_defaults[]; 49204076Spjdextern const char cpp_GCC_INCLUDE_DIR[]; 50204076Spjdextern const size_t cpp_GCC_INCLUDE_DIR_len; 51204076Spjd 52204076Spjdextern const char *cpp_SYSROOT; 53204076Spjd 54204076Spjd#endif /* ! GCC_CPPDEFAULT_H */ 55204076Spjd