Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
228:f232d7d67023 | 229:3e82d72933d0 |
---|---|
21 * have any questions. | 21 * have any questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 // FILEBUFF.HPP - Definitions for parser file buffering routines | 25 // FILEBUFF.HPP - Definitions for parser file buffering routines |
26 #include <iostream> | |
26 | 27 |
27 #if _MSC_VER >= 1300 // Visual C++ 7.0 or later | 28 using namespace std; |
28 #include <iostream> | |
29 #else | |
30 #include <iostream.h> | |
31 #endif | |
32 | |
33 // STRUCTURE FOR HANDLING INPUT AND OUTPUT FILES | 29 // STRUCTURE FOR HANDLING INPUT AND OUTPUT FILES |
34 typedef struct { | 30 typedef struct { |
35 const char *_name; | 31 const char *_name; |
36 FILE *_fp; | 32 FILE *_fp; |
37 } BufferedFile; | 33 } BufferedFile; |