diff src/share/vm/adlc/adlc.hpp @ 603:dbbe28fc66b5

6778669: Patch from Red Hat -- fixes compilation errors Summary: Some fixes which are required to build on recent GCCs. Reviewed-by: never, kvn Contributed-by: langel@redhat.com
author twisti
date Fri, 27 Feb 2009 03:35:40 -0800
parents 3e82d72933d0
children c3a720eefe82
line wrap: on
line diff
--- a/src/share/vm/adlc/adlc.hpp	Thu Feb 26 16:57:21 2009 -0800
+++ b/src/share/vm/adlc/adlc.hpp	Fri Feb 27 03:35:40 2009 -0800
@@ -79,6 +79,7 @@
 
 // Macros
 // Debugging note:  Put a breakpoint on "abort".
+#undef assert
 #define assert(cond, msg) { if (!(cond)) { fprintf(stderr, "assert fails %s %d: %s\n", __FILE__, __LINE__, msg); abort(); }}
 #define max(a, b)   (((a)>(b)) ? (a) : (b))