Fix ia64-hpux build failure, patch from Steve Ellcey.

* config/tc-ia64.c (MIN): Undef.
This commit is contained in:
Jim Wilson 2005-05-05 17:57:31 +00:00
parent 6f140a15a3
commit 5faa8e3921
2 changed files with 7 additions and 0 deletions

View file

@ -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.

View file

@ -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