Fixed GCC-specific code being visible to MSVC

This commit is contained in:
Snaipe 2015-09-13 13:45:10 +02:00
parent 8232862d59
commit 20c93d86de

View file

@ -94,7 +94,9 @@ namespace criterion {
# endif # endif
, file(f) , file(f)
{ {
# ifdef __GNUC__
std::ios::rdbuf(&*fbuf); std::ios::rdbuf(&*fbuf);
# endif
} }
void close(void) { void close(void) {
@ -122,7 +124,9 @@ namespace criterion {
# endif # endif
, file(f) , file(f)
{ {
# ifdef __GNUC__
std::ios::rdbuf(&*fbuf); std::ios::rdbuf(&*fbuf);
# endif
} }
void close(void) { void close(void) {