This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: include path on windows


Nathan Sidwell <nathan@codesourcery.com> writes:

> +#if defined INO_T_EQ
> +#define DIRS_EQ(A, B) ((A)->dev == (B)->dev \
> +	&& INO_T_EQ((A)->ino, (B)->ino))
> +#else
> +#define DIRS_EQ(A, B) (!strcasecmp ((A)->name, (B)->name))
> +#endif

It looks like this was already approved, but that shouldn't be
strcasecmp, it should be filename_cmp from libiberty.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]