diff --git a/core/imt/src/TThreadExecutor.cxx b/core/imt/src/TThreadExecutor.cxx index e58cd0aa60b81d2cb9be0b873882f38d02a0ee78..108be9baa5acd7aa0588132fe57a06f40830a301 100644 --- a/core/imt/src/TThreadExecutor.cxx +++ b/core/imt/src/TThreadExecutor.cxx @@ -1,13 +1,13 @@ #include "ROOT/TThreadExecutor.hxx" -#if defined(__GNUC__) +#if !defined(_MSC_VER) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow" #endif #include "tbb/tbb.h" -#if defined(__GNUC__) +#if !defined(_MSC_VER) #pragma GCC diagnostic pop #endif