00001 /* CPP Library. 00002 Copyright (C) 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 00003 1999, 2000 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 00021 00022 #ifndef GCC_CPPDEFAULT_H 00023 #define GCC_CPPDEFAULT_H 00024 00025 /* This header contains declarations and/or #defines for all the 00026 hard-wired defaults in cpp. Note it's used by both cpplib and 00027 tradcpp. */ 00028 00029 #ifndef STANDARD_INCLUDE_DIR 00030 #define STANDARD_INCLUDE_DIR "/usr/include" 00031 #endif 00032 00033 #ifndef STANDARD_INCLUDE_COMPONENT 00034 #define STANDARD_INCLUDE_COMPONENT 0 00035 #endif 00036 00037 #ifdef CROSS_COMPILE 00038 #undef LOCAL_INCLUDE_DIR 00039 #undef SYSTEM_INCLUDE_DIR 00040 #undef STANDARD_INCLUDE_DIR 00041 #else 00042 #undef CROSS_INCLUDE_DIR 00043 #endif 00044 00045 /* This is the default list of directories to search for include files. 00046 It may be overridden by the various -I and -ixxx options. 00047 00048 #include "file" looks in the same directory as the current file, 00049 then this list. 00050 #include <file> just looks in this list. 00051 00052 All these directories are treated as `system' include directories 00053 (they are not subject to pedantic warnings in some cases). */ 00054 00055 struct default_include 00056 { 00057 const char *const fname; /* The name of the directory. */ 00058 const char *const component; /* The component containing the directory 00059 (see update_path in prefix.c) */ 00060 const int cplusplus; /* Only look here if we're compiling C++. */ 00061 const int cxx_aware; /* Includes in this directory don't need to 00062 be wrapped in extern "C" when compiling 00063 C++. */ 00064 }; 00065 00066 extern const struct default_include cpp_include_defaults[]; 00067 extern const char cpp_GCC_INCLUDE_DIR[]; 00068 extern const size_t cpp_GCC_INCLUDE_DIR_len; 00069 00070 #endif /* ! GCC_CPPDEFAULT_H */
1.5.6