diff --git a/apps/openmw/main.cpp b/apps/openmw/main.cpp index a061cf63c..adde408b9 100644 --- a/apps/openmw/main.cpp +++ b/apps/openmw/main.cpp @@ -299,8 +299,10 @@ int main(int argc, char**argv) std::streambuf* cout_rdbuf = std::cout.rdbuf (); std::streambuf* cerr_rdbuf = std::cerr.rdbuf (); +#if !(defined(_WIN32) && defined(_DEBUG)) boost::iostreams::stream_buffer coutsb; boost::iostreams::stream_buffer cerrsb; +#endif std::ostream oldcout(cout_rdbuf); std::ostream oldcerr(cerr_rdbuf);