OSDN Git Service

* cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
authormsokolov <msokolov@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Jan 2001 02:26:27 +0000 (02:26 +0000)
committermsokolov <msokolov@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Jan 2001 02:26:27 +0000 (02:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39161 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cppinit.c

index f3c9ccf..4e961b5 100644 (file)
@@ -1,5 +1,9 @@
 2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
 
+       * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
+
+2001-01-20  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
        * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
        * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
        * configure, config.in: Regenerate.
index 9250f08..93568f4 100644 (file)
@@ -40,11 +40,13 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    Cygwin's emulation can generate non-unique inodes, so don't use it.
    VMS has non-numeric inodes. */
 #ifdef VMS
-#define INO_T_EQ(a, b) (!memcmp (&(a), &(b), sizeof (a)))
-#elif (defined _WIN32 && ! defined (_UWIN)) || defined __MSDOS__
-#define INO_T_EQ(a, b) 0
+# define INO_T_EQ(a, b) (!memcmp (&(a), &(b), sizeof (a)))
 #else
-#define INO_T_EQ(a, b) ((a) == (b))
+# if (defined _WIN32 && ! defined (_UWIN)) || defined __MSDOS__
+#  define INO_T_EQ(a, b) 0
+# else
+#  define INO_T_EQ(a, b) ((a) == (b))
+# endif
 #endif
 
 /* Internal structures and prototypes.  */