summaryrefslogtreecommitdiff
path: root/gdb/rdi-share
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2001-06-10 16:25:51 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2001-06-10 16:25:51 +0000
commit1ca687325a893e13a286a211fb8addcb7a12cb5d (patch)
tree14c13e68c553855c2ad50b50d9c69dde7a6f8e31 /gdb/rdi-share
parent98d15b1d18cda64de22714f801073a6186cb7d05 (diff)
downloadgdb-1ca687325a893e13a286a211fb8addcb7a12cb5d.tar.gz
* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
* utils.c (notice_quit): Remove dummy function only used for _MSC_VER. * values.c (unpack_double): Remove obsolete check for _MSC_VER. * defs.h: Ditto. * m32r-rom.c: Ditto. * p-exp.y: Ditto. * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for faster compilation. (get_ds_base): Remove _MSC_VER version of this function. * nindy-share/ttyflush.c: Ditto. X * rdi-share/host.h: Ditto. X * ser-go32.c (dos_readchar): Remove call to obsolete function. * remote-sim.c (gdb_os_poll_quit): Ditto. * remote-e7000.c (expect): Remove obsolete #if 0'ed code. * main.c (captured_main): Eliminate special Cygwin checks. * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
Diffstat (limited to 'gdb/rdi-share')
-rw-r--r--gdb/rdi-share/host.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/rdi-share/host.h b/gdb/rdi-share/host.h
index 4dffa8475fb..2955583d083 100644
--- a/gdb/rdi-share/host.h
+++ b/gdb/rdi-share/host.h
@@ -59,13 +59,6 @@
# define COMPILING_ON_WINDOWS_CONSOLE 1
# define COMPILING_ON_WINDOWS 1
#endif
-#ifdef _MSC_VER
-# define COMPILING_ON_MSDOS 1
-# define COMPILING_ON_WINDOWS 1
-# if defined(__cplusplus)
-# define IMPLEMENT_BOOL_AS_INT 1 /* VC++ doesn't have 'bool' (yet) */
-# endif
-#endif
/* The '(defined(__sparc) && defined(P_tmpdir) */
/* && !defined(__svr4__))' is to detect gcc on SunOS. */
/* C++ compilers don't have to define __STDC__ */
@@ -187,8 +180,7 @@ typedef char *ArgvType;
# define FILENAME_MAX 256
#endif
-#if (!defined(__STDC__) && !defined(__cplusplus) && !defined(_MSC_VER)) || \
- defined(COMPILING_ON_SUNOS)
+#if (!defined(__STDC__) && !defined(__cplusplus) || defined(COMPILING_ON_SUNOS)
/* Use bcopy rather than memmove, as memmove is not available. */
/* There does not seem to be a header for bcopy. */
void bcopy(const char *src, char *dst, int length);