2009-07-02 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / libiberty / filename_cmp.c
index 59bb726b90eaa07dbd2690954d6bdbd51e869f7a..0a4d0d85091709f6d15d15ba1fb3e608fa6e5413 100644 (file)
@@ -24,8 +24,8 @@
 #include <string.h>
 #endif
 
-#include <ctype.h>
 #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 == '/')
This page took 0.024078 seconds and 4 git commands to generate.