This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] defs.h _WIN32 defined by Win98, too
- To: Christopher Faylor <cgf at redhat dot com>
- Subject: Re: [RFA] defs.h _WIN32 defined by Win98, too
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Thu, 2 Aug 2001 13:57:20 -0700 (PDT)
- cc: <gdb-patches at sources dot redhat dot com>
On Thu, 2 Aug 2001, Christopher Faylor wrote:
> >> ChangeLog
> >> 2001-08-01 Keith Seitz <keiths@redhat.com>
> >>
> >> * defs.h (SLASH_STRING): If not defined, set
> >> to "/", regardless of _WIN32, __CYGWIN__, or
> >> whatnot.
> >
> >This should be fine, I think, but Chris should have the definitive word.
>
> This looks fine to me, too.
>
> Please check it in.
Done. FYI officially:
2001-08-02 Keith Seitz <keiths@redhat.com>
* defs.h (SLASH_STRING): If not defined, set
to "/", regardless of _WIN32, __CYGWIN__, or
whatnot.
Index: defs.h
===================================================================
RCS file: /cvs/src/src/gdb/defs.h,v
retrieving revision 1.61
diff -u -p -r1.61 defs.h
--- defs.h 2001/08/01 18:39:23 1.61
+++ defs.h 2001/08/02 20:53:47
@@ -1338,11 +1338,7 @@ extern int use_windows;
#endif
#ifndef SLASH_STRING
-#ifdef _WIN32
-#define SLASH_STRING "\\"
-#else
#define SLASH_STRING "/"
-#endif
#endif
#ifdef __MSDOS__