From a74bb62d97e86ca3c4731be13cb3604a2c5f3826 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 24 Nov 2022 15:36:44 +0200 Subject: [PATCH] Fix build with MSVC. --- src/libs/vmisc/bpstd/detail/enable_overload.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/vmisc/bpstd/detail/enable_overload.hpp b/src/libs/vmisc/bpstd/detail/enable_overload.hpp index 1eda98eee..1969e3e1a 100644 --- a/src/libs/vmisc/bpstd/detail/enable_overload.hpp +++ b/src/libs/vmisc/bpstd/detail/enable_overload.hpp @@ -31,8 +31,10 @@ #ifndef BPSTD_DETAIL_ENABLE_OVERLOAD_HPP #define BPSTD_DETAIL_ENABLE_OVERLOAD_HPP +#if !defined(_MSC_VER) #pragma GCC system_header #pragma clang system_header +#endif #if defined(_MSC_VER) && (_MSC_VER >= 1200) # pragma once