]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/stream.hh
0d981a97c45ef0ee0daa4a26fad721cf1f1e7227
[lilypond.git] / lily / include / stream.hh
1 /*
2   stream.hh -- declare compatibility glue for gcc 3.
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2001--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef STREAM_HH
10 #define STREAM_HH
11
12 #include "std-string.hh"
13
14 #include <iostream>
15 #include <sstream>
16 using namespace std;
17
18 #if __GNUC__ > 2
19 ostream *open_file_stream (string file_name,
20                                 ios_base::openmode mode = ios::out);
21 #else
22 ostream *open_file_stream (string file_name, int mode = ios::out);
23 #endif
24 void close_file_stream (ostream *os);
25
26 #endif /* STREAM_HH */
27