]> git.lyx.org Git - lyx.git/blobdiff - src/support/regex.h
Fix bugs #6078 and #9364
[lyx.git] / src / support / regex.h
index 7c64caf43210a5c93437ba3d9438e2a95397baff..dd4875e35fe587370b9f02a7832036aa3d783ec6 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef LYX_REGEXP_H
 #define LYX_REGEXP_H
 
-#if __cplusplus >= 201103L && defined(LYX_USE_STD_REGEX)
+#if defined(LYX_USE_CXX11) && defined(LYX_USE_STD_REGEX)
 #  include <regex>
 #  ifdef _MSC_VER
 namespace lyx {