From a94d04d1dfa21e1b3fa3470ef019e9972089bfa0 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 12 Jun 2003 17:09:24 +0000 Subject: [PATCH] -Wundef fixes. [SVN r18788] --- include/boost/current_function.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/current_function.hpp b/include/boost/current_function.hpp index 516a394..38aeab2 100644 --- a/include/boost/current_function.hpp +++ b/include/boost/current_function.hpp @@ -1,8 +1,8 @@ #ifndef BOOST_CURRENT_FUNCTION_HPP_INCLUDED #define BOOST_CURRENT_FUNCTION_HPP_INCLUDED -#if _MSC_VER >= 1020 -#pragma once +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +# pragma once #endif //