Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68170 - trunk/boost/proto
From: eric_at_[hidden]
Date: 2011-01-15 05:38:09


Author: eric_niebler
Date: 2011-01-15 05:38:08 EST (Sat, 15 Jan 2011)
New Revision: 68170
URL: http://svn.boost.org/trac/boost/changeset/68170

Log:
eliminate -Wundef warning on gcc
Text files modified:
   trunk/boost/proto/fusion.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/proto/fusion.hpp
==============================================================================
--- trunk/boost/proto/fusion.hpp (original)
+++ trunk/boost/proto/fusion.hpp 2011-01-15 05:38:08 EST (Sat, 15 Jan 2011)
@@ -28,7 +28,7 @@
 #include <boost/proto/traits.hpp>
 #include <boost/proto/eval.hpp>
 
-#if BOOST_MSVC
+#ifdef BOOST_MSVC
 #pragma warning(push)
 #pragma warning(disable : 4510) // default constructor could not be generated
 #pragma warning(disable : 4512) // assignment operator could not be generated
@@ -653,7 +653,7 @@
     };
 }}
 
-#if BOOST_MSVC
+#ifdef BOOST_MSVC
 #pragma warning(pop)
 #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