diff --git a/core/foundation/inc/ROOT/RMakeUnique.hxx b/core/foundation/inc/ROOT/RMakeUnique.hxx index 86fa4381d26b3..d30e45ebbd0ad 100644 --- a/core/foundation/inc/ROOT/RMakeUnique.hxx +++ b/core/foundation/inc/ROOT/RMakeUnique.hxx @@ -16,7 +16,7 @@ #include -#if __cplusplus < 201402L +#if ((__cplusplus < 201402L && !defined(R__WIN32)) || (defined(_MSC_VER) && _MSC_VER < 1800)) #include