aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-08-02 20:57:19 +0000
committerKeith Seitz <keiths@redhat.com>2001-08-02 20:57:19 +0000
commita5cedf2f04b49e3d7490bd33142b2b524214dd6f (patch)
tree0490d399bab2926611771cf507b0acad3eeb0ebc
parentcc6dd2c0716cb332a9ea009addb2c561c50ef398 (diff)
downloadgdb-a5cedf2f04b49e3d7490bd33142b2b524214dd6f.zip
gdb-a5cedf2f04b49e3d7490bd33142b2b524214dd6f.tar.gz
gdb-a5cedf2f04b49e3d7490bd33142b2b524214dd6f.tar.bz2
* 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 e6c92b4..da71983 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-08-02 Mark Kettenis <kettenis@gnu.org>
* cli/cli-decode.h: Include "gdb_regex.h" instead of
diff --git a/gdb/defs.h b/gdb/defs.h
index d3470e9..7d717c7 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1338,12 +1338,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