diff --git a/test/unit/UnitTestPCH.h b/test/unit/UnitTestPCH.h index d4fdfc4a7..4570dce81 100644 --- a/test/unit/UnitTestPCH.h +++ b/test/unit/UnitTestPCH.h @@ -43,10 +43,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // We need to be sure to have the same STL settings as Assimp #include -#pragma warning(push) -#pragma warning(disable:4389) +#ifdef _MSC_VER +# pragma warning(push) +# pragma warning(disable : 4389) +#endif #include -#pragma warning(pop) +#ifdef _MSC_VER +# pragma warning(pop) +#endif #include #include #include "UTLogStream.h"