Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53107 - trunk/boost/config/compiler
From: john_at_[hidden]
Date: 2009-05-19 07:39:26


Author: johnmaddock
Date: 2009-05-19 07:39:24 EDT (Tue, 19 May 2009)
New Revision: 53107
URL: http://svn.boost.org/trac/boost/changeset/53107

Log:
Fixes #3047.
Text files modified:
   trunk/boost/config/compiler/visualc.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp (original)
+++ trunk/boost/config/compiler/visualc.hpp 2009-05-19 07:39:24 EDT (Tue, 19 May 2009)
@@ -131,10 +131,10 @@
 // disable Win32 API's if compiler extentions are
 // turned off:
 //
-#ifndef _MSC_EXTENSIONS
+#if !defined(_MSC_EXTENSIONS) && !defined(BOOST_DISABLE_WIN32)
 # define BOOST_DISABLE_WIN32
 #endif
-#ifndef _CPPRTTI
+#if !defined(_CPPRTTI) && !defined(BOOST_NO_RTTI)
 # define BOOST_NO_RTTI
 #endif
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk