use tr1 for all gcc 4 versions (tested against gcc 4.0.1 on macos 10.5)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34741 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2010-07-01 20:58:26 +00:00
parent effec36e9a
commit 49b3a5d5f6

View File

@ -291,7 +291,7 @@ char * strerror(int n);
// TR1 regex not supported in GCC <= 4.5
#ifndef LYX_USE_TR1
# if __GNUC__ == 4 && __GNUC_MINOR__ >= 4
# if __GNUC__ == 4
# define LYX_USE_TR1
# endif
#endif