From 15d6d6ac95c06dfe5c3a0176c9f37b7425a266d8 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 7 Dec 2013 18:53:27 +0200 Subject: [PATCH] Revert "Remove obsolete MSVC check from pragma guard" This reverts commit 5e2fc717f0ece59553f380aac14c545979558306. --- include/boost/bind.hpp | 2 +- include/boost/bind/arg.hpp | 2 +- include/boost/bind/bind.hpp | 2 +- include/boost/bind/mem_fn.hpp | 2 +- include/boost/bind/placeholders.hpp | 2 +- include/boost/bind/storage.hpp | 2 +- include/boost/is_placeholder.hpp | 2 +- include/boost/mem_fn.hpp | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/boost/bind.hpp b/include/boost/bind.hpp index 503fb4d..fd3421e 100644 --- a/include/boost/bind.hpp +++ b/include/boost/bind.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/bind/arg.hpp b/include/boost/bind/arg.hpp index c1da4d0..0d5cd03 100644 --- a/include/boost/bind/arg.hpp +++ b/include/boost/bind/arg.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/bind/bind.hpp b/include/boost/bind/bind.hpp index 957974d..fb67097 100644 --- a/include/boost/bind/bind.hpp +++ b/include/boost/bind/bind.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/bind/mem_fn.hpp b/include/boost/bind/mem_fn.hpp index faf9848..3b00f17 100644 --- a/include/boost/bind/mem_fn.hpp +++ b/include/boost/bind/mem_fn.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/bind/placeholders.hpp b/include/boost/bind/placeholders.hpp index 97e7a68..3b098b1 100644 --- a/include/boost/bind/placeholders.hpp +++ b/include/boost/bind/placeholders.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/bind/storage.hpp b/include/boost/bind/storage.hpp index 556f707..be490b0 100644 --- a/include/boost/bind/storage.hpp +++ b/include/boost/bind/storage.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/is_placeholder.hpp b/include/boost/is_placeholder.hpp index fb746f2..5f1b544 100644 --- a/include/boost/is_placeholder.hpp +++ b/include/boost/is_placeholder.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/mem_fn.hpp b/include/boost/mem_fn.hpp index 8932d4d..3bcd2c5 100644 --- a/include/boost/mem_fn.hpp +++ b/include/boost/mem_fn.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