| 1 | /** |
| 2 | * /file global.hpp |
| 3 | * Use stringstream instead of cerr in Test Mode. |
| 4 | */ |
| 5 | |
| 6 | #ifndef GLOBAL_H_ |
| 7 | #define GLOBAL_H_cxx . . $ `auxprogs/utrrnaseq/src/Global.hpp:7:9`! |
| 8 | |
| 9 | #include <sstream> |
| 10 | |
| 11 | #include "Test.hpp"cxx . . $ `<file>/auxprogs/utrrnaseq/src/Test.hpp`/ |
| 12 | |
| 13 | #ifdef TEST_MODE |
| 14 | extern std::stringstream g_output; |
| 15 | #define ERR_STRM g_output |
| 16 | #else |
| 17 | #define ERR_STRMcxx . . $ `auxprogs/utrrnaseq/src/Global.hpp:17:10`! cerr |
| 18 | #endif |
| 19 | |
| 20 | #endif /* GLOBAL_H_ */ |