diff --git a/src/engine/execnt.cpp b/src/engine/execnt.cpp index 4909fca10..63cb12fa2 100644 --- a/src/engine/execnt.cpp +++ b/src/engine/execnt.cpp @@ -55,10 +55,18 @@ #include #include #include + +#if defined(__GNUC__) defined(__clang__) +#else #pragma warning( push ) #pragma warning(disable: 4800) // 'BOOL' forced to 'true' or 'false' +#endif #include +#if defined(__GNUC__) defined(__clang__) +#else #pragma warning( pop ) +#pragma GCC diagnostic pop +#endif /* get the maximum shell command line length according to the OS */