Fix ia64-hpux build failure, patch from Steve Ellcey.
authorJim Wilson <wilson@tuliptree.org>
Thu, 5 May 2005 17:57:31 +0000 (17:57 +0000)
committerJim Wilson <wilson@tuliptree.org>
Thu, 5 May 2005 17:57:31 +0000 (17:57 +0000)
* config/tc-ia64.c (MIN): Undef.

gas/ChangeLog
gas/config/tc-ia64.c

index 1bfb0ea7de97c1690199fd1720ee7ba424766270..1c082533570e64e26ec21fc2198cae331fe9e374 100644 (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.
index 31adc3d36f558f2a2a063e15bc7c3037a84c750d..729ce27262d464c8ef913be9b36d66531e80261e 100644 (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