diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2008-05-30 00:57:56 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2008-05-30 00:57:56 +0000 |
commit | c100de59ebf2f118ce0757c475b078b6f62d4017 (patch) | |
tree | 35dcdd0c466cec159fe8d590dfb3a71beab2939f /libcpp/include/cpplib.h | |
parent | 6551374ace72044a13edb955ff95b89aafe96029 (diff) | |
download | gcc-c100de59ebf2f118ce0757c475b078b6f62d4017.zip gcc-c100de59ebf2f118ce0757c475b078b6f62d4017.tar.gz gcc-c100de59ebf2f118ce0757c475b078b6f62d4017.tar.bz2 |
cpplib.h (struct cpp_dir): Add new field, canonical_name.
libcpp/ChangeLog
* include/cpplib.h (struct cpp_dir): Add new field, canonical_name.
gcc/ChangeLog
* incpath.c: Use HOST_LACKS_INODE_NUMBERS conditional
rather than OS names to choose INO_T_EQ definition.
(DIRS_EQ) [!INO_T_EQ]: Don't worry about case in comparison.
(add_path) [!INO_T_EQ]: Use lrealpath to fill canonical_name field.
From-SVN: r136196
Diffstat (limited to 'libcpp/include/cpplib.h')
-rw-r--r-- | libcpp/include/cpplib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index 76288a9..92ab291 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -508,6 +508,10 @@ struct cpp_dir char *name; unsigned int len; + /* The canonicalized NAME as determined by lrealpath. This field + is only used by hosts that lack reliable inode numbers. */ + char *canonical_name; + /* One if a system header, two if a system header that has extern "C" guards for C++. */ unsigned char sysp; |