summaryrefslogtreecommitdiff
path: root/libcpp/include
diff options
context:
space:
mode:
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-30 00:57:56 +0000
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-30 00:57:56 +0000
commitf4d024852012349701a3c6d3b37b2fe4eda86d75 (patch)
tree35dcdd0c466cec159fe8d590dfb3a71beab2939f /libcpp/include
parentc7ca41d18156e051b3ff64bc0618dd4dc69b5e52 (diff)
downloadgcc-f4d024852012349701a3c6d3b37b2fe4eda86d75.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136196 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/include')
-rw-r--r--libcpp/include/cpplib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h
index 76288a9068c..92ab291db2c 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;