aboutsummaryrefslogtreecommitdiff
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
commit0b6a968ee62c0e94758b5996f10509741731ec10 (patch)
treeaa9dbf9dbbbcc91bf5c727772567e2f805f844b9 /gdb/rdi-share
parent5dd0794dca6376164c29977156282afc59b16388 (diff)
downloadgdb-0b6a968ee62c0e94758b5996f10509741731ec10.zip
gdb-0b6a968ee62c0e94758b5996f10509741731ec10.tar.gz
gdb-0b6a968ee62c0e94758b5996f10509741731ec10.tar.bz2
* 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 4dffa84..2955583 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);