Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51639 - trunk/boost
From: ghost_at_[hidden]
Date: 2009-03-07 10:32:14


Author: vladimir_prus
Date: 2009-03-07 10:32:14 EST (Sat, 07 Mar 2009)
New Revision: 51639
URL: http://svn.boost.org/trac/boost/changeset/51639

Log:
Make sure _MSC_VER is defined before checking its value.

Text files modified:
   trunk/boost/program_options.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/program_options.hpp
==============================================================================
--- trunk/boost/program_options.hpp (original)
+++ trunk/boost/program_options.hpp 2009-03-07 10:32:14 EST (Sat, 07 Mar 2009)
@@ -8,7 +8,7 @@
 #ifndef PROGRAM_OPTIONS_VP_2003_05_19
 #define PROGRAM_OPTIONS_VP_2003_05_19
 
-#if _MSC_VER >= 1020
+#if defined(_MSC_VER) && _MSC_VER >= 1020
 #pragma once
 #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