aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-10 20:06:24 +0000
committerTom Tromey <tromey@redhat.com>2012-12-10 20:06:24 +0000
commit660ff10643424fdc159a5427246c0779b602f7c9 (patch)
tree32e730d6b45f509537cb1094b3d5cca2001bc34c /gdb/defs.h
parent4c8a1de1fe7ae5bb8aa84cad901db098ffb167c0 (diff)
downloadgdb-660ff10643424fdc159a5427246c0779b602f7c9.zip
gdb-660ff10643424fdc159a5427246c0779b602f7c9.tar.gz
gdb-660ff10643424fdc159a5427246c0779b602f7c9.tar.bz2
* defs.h: Don't check for definition of LONGEST.
(min, max): Remove duplicates.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 369ee7a..ee49a89 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -116,8 +116,6 @@ typedef bfd_vma CORE_ADDR;
/* This is to make sure that LONGEST is at least as big as CORE_ADDR. */
-#ifndef LONGEST
-
#ifdef BFD64
#define LONGEST BFD_HOST_64_BIT
@@ -130,8 +128,6 @@ typedef bfd_vma CORE_ADDR;
#endif /* No BFD64 */
-#endif /* ! LONGEST */
-
#ifndef min
#define min(a, b) ((a) < (b) ? (a) : (b))
#endif
@@ -618,12 +614,6 @@ enum gdb_osabi
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
-#ifndef min
-#define min(a, b) ((a) < (b) ? (a) : (b))
-#endif
-#ifndef max
-#define max(a, b) ((a) > (b) ? (a) : (b))
-#endif
#ifndef atof