summaryrefslogtreecommitdiff
path: root/gcc/config/i386/xm-mingw32.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/config/i386/xm-mingw32.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/config/i386/xm-mingw32.h')
-rw-r--r--gcc/config/i386/xm-mingw32.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/config/i386/xm-mingw32.h b/gcc/config/i386/xm-mingw32.h
index 19b102dda00..9984bf93cfb 100644
--- a/gcc/config/i386/xm-mingw32.h
+++ b/gcc/config/i386/xm-mingw32.h
@@ -19,14 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Even though we support "/", allow "\" since everybody tests both. */
-#define DIR_SEPARATOR '\\'
-#define DIR_SEPARATOR_2 '/'
-
-/* Mingw32 does not try to hide the underlying DOS-based file system
- like Cygwin does. */
-#define HAVE_DOS_BASED_FILE_SYSTEM
-
#define HOST_EXECUTABLE_SUFFIX ".exe"
#undef PATH_SEPARATOR