From 0337743c8cb457de765fd3ef06e708b30b9aad9a Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 12 Feb 2014 16:57:45 +0200 Subject: [PATCH] Revert "Remove obsolete MSVC check from pragma guard" This reverts commit b7ee78884538a79e4767f29ddb87e09a752667d8. --- include/boost/detail/lightweight_thread.hpp | 2 +- include/boost/detail/quick_allocator.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/detail/lightweight_thread.hpp b/include/boost/detail/lightweight_thread.hpp index 8eba1f8..6fe70a6 100644 --- a/include/boost/detail/lightweight_thread.hpp +++ b/include/boost/detail/lightweight_thread.hpp @@ -3,7 +3,7 @@ // MS compatible compilers support #pragma once -#if defined(_MSC_VER) +#if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif diff --git a/include/boost/detail/quick_allocator.hpp b/include/boost/detail/quick_allocator.hpp index ba048e0..d54b3a7 100644 --- a/include/boost/detail/quick_allocator.hpp +++ b/include/boost/detail/quick_allocator.hpp @@ -3,7 +3,7 @@ // MS compatible compilers support #pragma once -#if defined(_MSC_VER) +#if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif