summaryrefslogtreecommitdiff
path: root/gcc/java/win32-host.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/win32-host.c')
-rw-r--r--gcc/java/win32-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/win32-host.c b/gcc/java/win32-host.c
index 0e9613b427c..1d6b8fadc15 100644
--- a/gcc/java/win32-host.c
+++ b/gcc/java/win32-host.c
@@ -72,7 +72,7 @@ jcf_open_exact_case (const char *filename, int oflag)
all directory components would be tedious and time-consuming
and it's a pretty safe assumption that mixed-case package
names are a fringe case.... */
- if (strcmp (filename + filename_len - found_file_len, fd.cFileName))
+ if (filename_cmp (filename + filename_len - found_file_len, fd.cFileName))
{
/* Reject this because it is not a perfect-case match. */
/* printf("************\nRejected:\n%s\n%s\n************\n\n", filename, fd.cFileName); */