From e4e997fd12c1babd4bdeee474becf6584c4057b5 Mon Sep 17 00:00:00 2001 From: jriegel Date: Wed, 15 Aug 2012 16:40:03 +0200 Subject: [PATCH] extend boost fix for newer boost versions --- src/App/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index e6a3999261..948748fcca 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -1339,7 +1339,7 @@ void Application::LoadParameters(void) // fix weird error while linking boost (all versions of VC) // VS2010: https://sourceforge.net/apps/phpbb/free-cad/viewtopic.php?f=4&t=1886&p=12553&hilit=boost%3A%3Afilesystem%3A%3Aget#p12553 namespace boost { namespace program_options { std::string arg="arg"; } } -#if (defined (BOOST_VERSION) && (BOOST_VERSION == 104100)) +#if (defined (BOOST_VERSION) && (BOOST_VERSION >= 104100)) namespace boost { namespace program_options { const unsigned options_description::m_default_line_length = 80; } }