X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fcppdefault.h;h=f5b38884de6e361084d4ca0a78e1c9beaf9e6d2a;hb=f5734d36e9d0cf7d7f0186e40ad9915da244bc84;hp=40a860964a838904e32846fe4a58ef6e13e2b155;hpb=6399431817c1b2779eb5a9005c32d5619c6dc36f;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/cppdefault.h b/gcc/cppdefault.h index 40a860964a8..f5b38884de6 100644 --- a/gcc/cppdefault.h +++ b/gcc/cppdefault.h @@ -1,6 +1,6 @@ /* CPP Library. Copyright (C) 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000 Free Software Foundation, Inc. + 1999, 2000, 2003, 2004 Free Software Foundation, Inc. Contributed by Per Bothner, 1994-95. Based on CCCP program by Paul Rubin, June 1986 Adapted to ANSI C, Richard Stallman, Jan 1987 @@ -17,31 +17,11 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef GCC_CPPDEFAULT_H #define GCC_CPPDEFAULT_H -/* This header contains declarations and/or #defines for all the - hard-wired defaults in cpp. Note it's used by both cpplib and - tradcpp. */ - -#ifndef STANDARD_INCLUDE_DIR -#define STANDARD_INCLUDE_DIR "/usr/include" -#endif - -#ifndef STANDARD_INCLUDE_COMPONENT -#define STANDARD_INCLUDE_COMPONENT 0 -#endif - -#ifdef CROSS_COMPILE -#undef LOCAL_INCLUDE_DIR -#undef SYSTEM_INCLUDE_DIR -#undef STANDARD_INCLUDE_DIR -#else -#undef CROSS_INCLUDE_DIR -#endif - /* This is the default list of directories to search for include files. It may be overridden by the various -I and -ixxx options. @@ -57,10 +37,12 @@ struct default_include const char *const fname; /* The name of the directory. */ const char *const component; /* The component containing the directory (see update_path in prefix.c) */ - const int cplusplus; /* Only look here if we're compiling C++. */ - const int cxx_aware; /* Includes in this directory don't need to + const char cplusplus; /* Only look here if we're compiling C++. */ + const char cxx_aware; /* Includes in this directory don't need to be wrapped in extern "C" when compiling C++. */ + const char add_sysroot; /* FNAME should be prefixed by + cpp_SYSROOT. */ }; extern const struct default_include cpp_include_defaults[];