_MSC_VER use clarified.

[SVN r20992]
This commit is contained in:
Peter Dimov
2003-11-28 15:35:21 +00:00
parent 621c828e12
commit 5a900e5817
2 changed files with 11 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
#ifndef BOOST_CHECKED_DELETE_HPP_INCLUDED #ifndef BOOST_CHECKED_DELETE_HPP_INCLUDED
#define BOOST_CHECKED_DELETE_HPP_INCLUDED #define BOOST_CHECKED_DELETE_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020) #if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once # pragma once
#endif #endif

View File

@@ -1,7 +1,9 @@
#ifndef BOOST_REF_HPP_INCLUDED #ifndef BOOST_REF_HPP_INCLUDED
#define BOOST_REF_HPP_INCLUDED #define BOOST_REF_HPP_INCLUDED
# if _MSC_VER+0 >= 1020 // MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once # pragma once
#endif #endif