diff dw.hpp @ 2928:102b96d77f89

C++: Visual Studio 2013 lambda support also did not work, bump to 2015. My Windows 8.1 virtual machine had 2012 and 2013 versions, but did not work.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 30 Dec 2022 04:15:27 +0000
parents 03167ee949fd
children 2ab97b349958
line wrap: on
line diff
--- a/dw.hpp	Fri Dec 30 03:29:35 2022 +0000
+++ b/dw.hpp	Fri Dec 30 04:15:27 2022 +0000
@@ -16,8 +16,8 @@
 #define DW_NULL NULL
 #endif
 
-// Support Lambdas on C++11, Visual C 2010 or GCC 4.5
-#if defined(DW_CPP11) || (defined(_MSC_VER) && _MSC_VER >= 1700) || \
+// Support Lambdas on C++11, Visual C 2015 or GCC 4.5
+#if defined(DW_CPP11) || (defined(_MSC_VER) && _MSC_VER >= 1900) || \
     (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4)))
 #define DW_LAMBDA
 #include <functional>