OSDN Git Service

* libcpp/include/cpplib.h (INO_T_CPP): New macro.
authorrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Jul 2009 17:27:10 +0000 (17:27 +0000)
committerrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Jul 2009 17:27:10 +0000 (17:27 +0000)
(struct cpp_dir): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150131 138bc75d-0d04-0410-961f-82ee72b054a4

libcpp/ChangeLog
libcpp/include/cpplib.h

index 7fcfa56..9da8317 100644 (file)
@@ -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
 2009-07-20  Jerry Quinn  <jlquinn@optonline.net>
 
        PR regression/40800
index 71c7ef2..e873ccf 100644 (file)
@@ -505,6 +505,12 @@ struct cpp_callbacks
   void (*before_define) (cpp_reader *);
 };
 
   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
 {
 /* 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.  */
 
   /* The C front end uses these to recognize duplicated
      directories in the search path.  */
-  ino_t ino;
+  INO_T_CPP;
   dev_t dev;
 };
 
   dev_t dev;
 };