X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libiberty%2Ffilename_cmp.c;h=0a4d0d85091709f6d15d15ba1fb3e608fa6e5413;hp=59bb726b90eaa07dbd2690954d6bdbd51e869f7a;hb=c13d1306162c01181ee5ce120b34d0a57accd0ba;hpb=ead4b22fec75a4652c231dd6793f49d854b3f1c5 diff --git a/libiberty/filename_cmp.c b/libiberty/filename_cmp.c index 59bb726b90e..0a4d0d85091 100644 --- a/libiberty/filename_cmp.c +++ b/libiberty/filename_cmp.c @@ -24,8 +24,8 @@ #include #endif -#include #include "filenames.h" +#include "safe-ctype.h" /* @@ -55,8 +55,8 @@ filename_cmp (const char *s1, const char *s2) #else for (;;) { - int c1 = tolower (*s1); - int c2 = tolower (*s2); + int c1 = TOLOWER (*s1); + int c2 = TOLOWER (*s2); /* On DOS-based file systems, the '/' and the '\' are equivalent. */ if (c1 == '/')