diff options
author | Jim Wilson <wilson@tuliptree.org> | 2005-05-05 17:57:31 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2005-05-05 17:57:31 +0000 |
commit | 5faa8e3921b9ab6c7cd50930baad1e8665fc8203 (patch) | |
tree | 019e882703683ad52b576c2148d68f7f6aa6cf4c /gas | |
parent | 6f140a15a35d90cccc485451e2ecda586f23b4eb (diff) | |
download | gdb-5faa8e3921b9ab6c7cd50930baad1e8665fc8203.zip gdb-5faa8e3921b9ab6c7cd50930baad1e8665fc8203.tar.gz gdb-5faa8e3921b9ab6c7cd50930baad1e8665fc8203.tar.bz2 |
Fix ia64-hpux build failure, patch from Steve Ellcey.
* config/tc-ia64.c (MIN): Undef.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-ia64.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 1bfb0ea..1c08253 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2005-05-05 Steve Ellcey <sje@cup.hp.com> + + * config/tc-ia64.c (MIN): Undef. + 2005-05-05 Paul Brook <paul@codesourcery.com> * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS. diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 31adc3d..729ce27 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -56,6 +56,9 @@ #endif #define NELEMS(a) ((int) (sizeof (a)/sizeof ((a)[0]))) + +/* Some systems define MIN in, e.g., param.h. */ +#undef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b)) #define NUM_SLOTS 4 |