Commit 3943e756 by Michael Sokolov Committed by Michael Sokolov

* cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.

From-SVN: r39161
parent b3e1e64f
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.
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment