]> git.lyx.org Git - features.git/commitdiff
remove warning. is this a boost bug? the macro is explicitly defined for msvc.
authorPeter Kümmel <syntheticpp@gmx.net>
Tue, 30 Sep 2008 19:58:56 +0000 (19:58 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Tue, 30 Sep 2008 19:58:56 +0000 (19:58 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26655 a592a061-630c-0410-9148-cb99ea01b6c8

boost/libs/regex/src/cregex.cpp

index 99d48a7b7ebc8b5e7dec4fba743c693605ca5363..234f0467f9c32b38ace7a8ff6ed4831991a9adcf 100644 (file)
@@ -559,7 +559,7 @@ std::string RegEx::What(int i)const
    return result;
 }
 
-#ifdef BOOST_HAS_LONG_LONG
+#if defined(BOOST_HAS_LONG_LONG) && !defined(_MSC_VER)
 const std::size_t RegEx::npos = static_cast<std::size_t>(~0ULL);
 #else
 const std::size_t RegEx::npos = static_cast<std::size_t>(~0UL);