freebsd-ports/devel/antlr/files/patch-lib::cpp::antlr::CharBuffer.hpp
2004-11-15 23:57:59 +00:00

16 lines
426 B
C++

$FreeBSD$
--- lib/cpp/antlr/CharBuffer.hpp.orig Mon Nov 15 16:35:21 2004
+++ lib/cpp/antlr/CharBuffer.hpp Mon Nov 15 16:36:04 2004
@@ -8,7 +8,11 @@
* $Id: //depot/code/org.antlr/release/antlr-2.7.4/lib/cpp/antlr/CharBuffer.hpp#1 $
*/
+#if defined(__GNUC__) && (__GNUC__ < 3 || __GNUC_MINOR__ < 2)
+#include <istream.h>
+#else
#include <istream>
+#endif
#include <antlr/config.hpp>
#include <antlr/InputBuffer.hpp>