diff options
author | rupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-27 17:27:10 +0000 |
---|---|---|
committer | rupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-27 17:27:10 +0000 |
commit | 7ad75c558bd45b6a0b95a2dc00f59f5162ed13d3 (patch) | |
tree | 6dd7de54193634f033975a3695dc7997055de7ff /libcpp | |
parent | 0aed37aadac58a0d087c157e7e08a02545eaf8b1 (diff) | |
download | gcc-7ad75c558bd45b6a0b95a2dc00f59f5162ed13d3.tar.gz |
* libcpp/include/cpplib.h (INO_T_CPP): New macro.
(struct cpp_dir): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150131 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 5 | ||||
-rw-r--r-- | libcpp/include/cpplib.h | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 7fcfa5649bc..9da83176bd4 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2009-07-27 Douglas B Rupp <rupp@gnat.com> + + * include/cpplib.h (INO_T_CPP): New macro. + (struct cpp_dir): Use it. + 2009-07-20 Jerry Quinn <jlquinn@optonline.net> PR regression/40800 diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index 71c7ef26351..e873ccfeea5 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -505,6 +505,12 @@ struct cpp_callbacks void (*before_define) (cpp_reader *); }; +#ifdef VMS +#define INO_T_CPP ino_t ino[3] +#else +#define INO_T_CPP ino_t ino +#endif + /* Chain of directories to look for include files in. */ struct cpp_dir { @@ -538,7 +544,7 @@ struct cpp_dir /* The C front end uses these to recognize duplicated directories in the search path. */ - ino_t ino; + INO_T_CPP; dev_t dev; }; |