TR1: also use tr1-regex when using msvc10

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34732 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2010-06-30 13:50:40 +00:00
parent 50117dc8ea
commit c09fcc890f

View File

@ -289,9 +289,11 @@ char * strerror(int n);
#define BOOST_NO_WREGEX 1
#define BOOST_NO_WSTRING 1
// TR1 regex not supported in GCC <= 4.5
#ifndef LYX_USE_TR1
# if defined(_MSC_VER) && (_MSC_VER >= 1600)
# define LYX_USE_TR1
# define LYX_USE_TR1_REGEX
# endif
# if __GNUC__ == 4 && __GNUC_MINOR__ >= 4
# define LYX_USE_TR1