From 2950127d8db28dc6560992c8ea862680f083b0d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Tue, 30 Sep 2008 19:58:56 +0000 Subject: [PATCH] remove warning. is this a boost bug? the macro is explicitly defined for msvc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26655 a592a061-630c-0410-9148-cb99ea01b6c8 --- boost/libs/regex/src/cregex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost/libs/regex/src/cregex.cpp b/boost/libs/regex/src/cregex.cpp index 99d48a7b7e..234f0467f9 100644 --- a/boost/libs/regex/src/cregex.cpp +++ b/boost/libs/regex/src/cregex.cpp @@ -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(~0ULL); #else const std::size_t RegEx::npos = static_cast(~0UL);