aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
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/defs.h
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/defs.h')
-rw-r--r--gdb/defs.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 9c33c53..1694739 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -920,13 +920,7 @@ typedef struct ptid ptid_t;
#include "fopen-same.h"
#endif
-/* Microsoft C can't deal with const pointers */
-
-#ifdef _MSC_VER
-#define CONST_PTR
-#else
#define CONST_PTR const
-#endif
/* Defaults for system-wide constants (if not defined by xm.h, we fake it).
FIXME: Assumes 2's complement arithmetic */
@@ -1092,11 +1086,6 @@ extern char *getenv (const char *);
#endif
#ifdef HAVE_STDLIB_H
-#if defined(_MSC_VER) && !defined(__cplusplus)
-/* msvc defines these in stdlib.h for c code */
-#undef min
-#undef max
-#endif
#include <stdlib.h>
#endif
#ifndef min