diff options
author | Tom Tromey <tromey@redhat.com> | 2012-12-10 20:06:23 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-12-10 20:06:23 +0000 |
commit | bfe4045496599925bb76426648e85cf513c28e77 (patch) | |
tree | 27781413917da924a9f57459d94d111db951097b /gdb/defs.h | |
parent | aa77cc9c3fdac73a99440432064b11f8eb67a601 (diff) | |
download | gdb-bfe4045496599925bb76426648e85cf513c28e77.tar.gz |
* defs.h: Don't check for definition of LONGEST.
(min, max): Remove duplicates.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/defs.h b/gdb/defs.h index 369ee7a6149..ee49a89f065 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 |