summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-08-02 21:36:51 +0000
committerKeith Seitz <keiths@redhat.com>2001-08-02 21:36:51 +0000
commit5fa23855f3ae3d188c0e7d2713ae0f7f0102dcdb (patch)
tree3cda5807e879e4b97b4e2f22a64e0f3dce9e4d09
parentcb73701ff4f2894d5c6edd39a09a8b23e31be7e1 (diff)
downloadgdb-5fa23855f3ae3d188c0e7d2713ae0f7f0102dcdb.tar.gz
* defs.h (SLASH_STRING): If not defined, set
to "/", regardless of _WIN32, __CYGWIN__, or whatnot.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/defs.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e2b91081d54..809acf76959 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-02 Keith Seitz <keiths@redhat.com>
+
+ * defs.h (SLASH_STRING): If not defined, set
+ to "/", regardless of _WIN32, __CYGWIN__, or
+ whatnot.
+
2001-07-27 Daniel Jacobowitz <drow@mvista.com>
* configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
diff --git a/gdb/defs.h b/gdb/defs.h
index d535b7c015c..3fac36e2610 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1396,12 +1396,8 @@ extern int use_windows;
#endif
#ifndef SLASH_STRING
-#ifdef _WIN32
-#define SLASH_STRING "\\"
-#else
#define SLASH_STRING "/"
#endif
-#endif
#ifdef __MSDOS__
# define CANT_FORK