Mercurial > dwindows
comparison dw.hpp @ 2897:fed0c2112985
C++: Fix a GCC and Clang warning in that last commit.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 23 Dec 2022 06:29:48 +0000 |
parents | d91aaffca1fc |
children | d53fee198085 |
comparison
equal
deleted
inserted
replaced
2896:d91aaffca1fc | 2897:fed0c2112985 |
---|---|
14 #else | 14 #else |
15 #define DW_NULL NULL | 15 #define DW_NULL NULL |
16 #endif | 16 #endif |
17 | 17 |
18 // Support Lambdas on C++11, Visual C 2010 or GCC 4.5 | 18 // Support Lambdas on C++11, Visual C 2010 or GCC 4.5 |
19 #ifdef DW_CPP11 || (defined(_MSC_VER) && _MSC_VER >= 1600) || \ | 19 #if defined(DW_CPP11) || (defined(_MSC_VER) && _MSC_VER >= 1600) || \ |
20 (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4))) | 20 (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4))) |
21 #define DW_LAMBDA | 21 #define DW_LAMBDA |
22 #include <functional> | 22 #include <functional> |
23 #endif | 23 #endif |
24 | 24 |