diff src/share/vm/adlc/filebuff.hpp @ 229:3e82d72933d0

6718830: Hotspot fails to build with gcc 4.3 Summary: Fixed linux make file and couple adlc code to meet the changes of gcc 4.3 Reviewed-by: kamg, igor
author xlu
date Thu, 26 Jun 2008 14:15:01 -0700
parents a61af66fc99e
children 4d9884b01ba6
line wrap: on
line diff
--- a/src/share/vm/adlc/filebuff.hpp	Tue Jun 24 16:52:31 2008 -0700
+++ b/src/share/vm/adlc/filebuff.hpp	Thu Jun 26 14:15:01 2008 -0700
@@ -23,13 +23,9 @@
  */
 
 // FILEBUFF.HPP - Definitions for parser file buffering routines
+#include <iostream>
 
-#if _MSC_VER >= 1300  // Visual C++ 7.0 or later
-#include <iostream>
-#else
-#include <iostream.h>
-#endif
-
+using namespace std;
 // STRUCTURE FOR HANDLING INPUT AND OUTPUT FILES
 typedef struct {
   const char *_name;