mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
50117dc8ea
commit
c09fcc890f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user