* defs.h: Don't check for definition of LONGEST.
(min, max): Remove duplicates.
This commit is contained in:
parent
4c8a1de1fe
commit
660ff10643
|
@ -1,3 +1,8 @@
|
||||||
|
2012-12-10 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* defs.h: Don't check for definition of LONGEST.
|
||||||
|
(min, max): Remove duplicates.
|
||||||
|
|
||||||
2012-12-10 Tom Tromey <tromey@redhat.com>
|
2012-12-10 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* dwarf2read.c (dwarf2_fetch_die_loc_sect_off): New function.
|
* dwarf2read.c (dwarf2_fetch_die_loc_sect_off): New function.
|
||||||
|
|
10
gdb/defs.h
10
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. */
|
/* This is to make sure that LONGEST is at least as big as CORE_ADDR. */
|
||||||
|
|
||||||
#ifndef LONGEST
|
|
||||||
|
|
||||||
#ifdef BFD64
|
#ifdef BFD64
|
||||||
|
|
||||||
#define LONGEST BFD_HOST_64_BIT
|
#define LONGEST BFD_HOST_64_BIT
|
||||||
|
@ -130,8 +128,6 @@ typedef bfd_vma CORE_ADDR;
|
||||||
|
|
||||||
#endif /* No BFD64 */
|
#endif /* No BFD64 */
|
||||||
|
|
||||||
#endif /* ! LONGEST */
|
|
||||||
|
|
||||||
#ifndef min
|
#ifndef min
|
||||||
#define min(a, b) ((a) < (b) ? (a) : (b))
|
#define min(a, b) ((a) < (b) ? (a) : (b))
|
||||||
#endif
|
#endif
|
||||||
|
@ -618,12 +614,6 @@ enum gdb_osabi
|
||||||
#ifdef HAVE_STDLIB_H
|
#ifdef HAVE_STDLIB_H
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
#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
|
#ifndef atof
|
||||||
|
|
Loading…
Reference in New Issue