Fixed GCC-specific code being visible to MSVC
This commit is contained in:
parent
8232862d59
commit
20c93d86de
1 changed files with 4 additions and 0 deletions
|
@ -94,7 +94,9 @@ namespace criterion {
|
|||
# endif
|
||||
, file(f)
|
||||
{
|
||||
# ifdef __GNUC__
|
||||
std::ios::rdbuf(&*fbuf);
|
||||
# endif
|
||||
}
|
||||
|
||||
void close(void) {
|
||||
|
@ -122,7 +124,9 @@ namespace criterion {
|
|||
# endif
|
||||
, file(f)
|
||||
{
|
||||
# ifdef __GNUC__
|
||||
std::ios::rdbuf(&*fbuf);
|
||||
# endif
|
||||
}
|
||||
|
||||
void close(void) {
|
||||
|
|
Loading…
Add table
Reference in a new issue