Thu, 09 Feb 2012 15:56:18 +0100
allow parallel use of -s and -S
universe@16 | 1 | /* |
universe@16 | 2 | * stream.h |
universe@16 | 3 | * |
universe@16 | 4 | * Created on: 20.09.2011 |
universe@20 | 5 | * Author: Mike |
universe@16 | 6 | */ |
universe@16 | 7 | |
universe@16 | 8 | #ifndef STREAM_H_ |
universe@16 | 9 | #define STREAM_H_ |
universe@16 | 10 | |
universe@16 | 11 | #include "stdinc.h" |
universe@16 | 12 | |
universe@16 | 13 | #ifdef _WIN32 |
universe@16 | 14 | int _STREAM_STDOUT; |
universe@16 | 15 | #endif |
universe@16 | 16 | |
universe@16 | 17 | #ifdef _cplusplus |
universe@16 | 18 | extern "C" { |
universe@16 | 19 | #endif |
universe@16 | 20 | |
universe@16 | 21 | void close_stdout(); |
universe@16 | 22 | void reopen_stdout(); |
universe@16 | 23 | |
universe@16 | 24 | #ifdef _cplusplus |
universe@16 | 25 | extern "C" } |
universe@16 | 26 | #endif |
universe@16 | 27 | |
universe@16 | 28 | #endif /* STREAM_H_ */ |