From 0c539b470c662e85e63a78add134f933ab6efa0f Mon Sep 17 00:00:00 2001 From: Douglas B Rupp <rupp@gnat.com> Date: Mon, 27 Jul 2009 17:27:10 +0000 Subject: [PATCH] cpplib.h (INO_T_CPP): New macro. * libcpp/include/cpplib.h (INO_T_CPP): New macro. (struct cpp_dir): Use it. From-SVN: r150131 --- libcpp/ChangeLog | 5 +++++ libcpp/include/cpplib.h | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 7fcfa5649bc8..9da83176bd4b 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 71c7ef26351c..e873ccfeea55 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; }; -- GitLab