This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] defs.h _WIN32 defined by Win98, too


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__




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]