summaryrefslogtreecommitdiff
path: root/gcc/java/jcf.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-07-03 04:24:01 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-07-03 04:24:01 +0000
commit3dce14083fc35cc2b60906577cf797e0ae49f1b8 (patch)
tree37ea22037f920e97ce155abc8dd8f4290af8dba6 /gcc/java/jcf.h
parentbacb96b24f038ebc8072abfcdb145ff6568a8554 (diff)
downloadgcc-3dce14083fc35cc2b60906577cf797e0ae49f1b8.tar.gz
system.h: Include filenames.h.
* system.h: Include filenames.h. (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define. (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined, define based on HAVE_DOS_BASED_FILE_SYSTEM. * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h * config/i386/xm-mingw32.h: Don't define HAVE_DOS_BASED_FILE_SYSTEM, DIR_SEPARATOR, or DIR_SEPARATOR_2. * doc/hostconfig.texi: Update to match. * cppfiles.c, gcc.c, gensupport.c, protoize.c, config/i386/cygwin.h: Use IS_ABSOLUTE_PATH throughout. * gcc.c (DIR_UP): Delete, unused. * protoize.c (IS_SAME_PATH): Define in terms of FILENAME_CMP. (is_abspath): Delete. java: * jcf-path.c: Don't default-define PATH_SEPARATOR nor DIR_SEPARATOR. Use FILENAME_CMP. * jcf-write.c: Don't default-define DIR_SEPARATOR. * jcf.h: Delete COMPARE_FILENAMES definition. From-SVN: r68863
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r--gcc/java/jcf.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h
index 962db122143..970656732c0 100644
--- a/gcc/java/jcf.h
+++ b/gcc/java/jcf.h
@@ -54,15 +54,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#define JCF_USE_SCANDIR 0
#endif
-/* On case-insensitive file systems, file name components must be
- compared using "strcasecmp", if available, instead of "strcmp".
- Assumes "config.h" has already been included. */
-#if defined (HAVE_DOS_BASED_FILE_SYSTEM) && defined (HAVE_STRCASECMP)
-#define COMPARE_FILENAMES(X, Y) strcasecmp ((X), (Y))
-#else
-#define COMPARE_FILENAMES(X, Y) strcmp ((X), (Y))
-#endif
-
/* On case-insensitive file systems, we need to ensure that a request
to open a .java or .class file is honored only if the file to be
opened is of the exact case we are asking for. In other words, we