summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-27 17:27:10 +0000
committerrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-27 17:27:10 +0000
commit7ad75c558bd45b6a0b95a2dc00f59f5162ed13d3 (patch)
tree6dd7de54193634f033975a3695dc7997055de7ff /libcpp
parent0aed37aadac58a0d087c157e7e08a02545eaf8b1 (diff)
downloadgcc-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/ChangeLog5
-rw-r--r--libcpp/include/cpplib.h8
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;
};