X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libiberty%2Ffilename_cmp.c;h=0a4d0d85091709f6d15d15ba1fb3e608fa6e5413;hb=53b2b99f6da7c1a57e4eef5555d0567b67b2ea82;hp=59bb726b90eaa07dbd2690954d6bdbd51e869f7a;hpb=9779ba931e62edc9d8fb81c1b0569ea4e80df162;p=pf3gnuchains%2Fgcc-fork.git 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 == '/')