]> git.ipfire.org Git - thirdparty/pdns.git/commit
yahttp: Better detection of whether C++11 features are available 12589/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 24 Feb 2023 16:35:53 +0000 (17:35 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 24 Feb 2023 16:35:53 +0000 (17:35 +0100)
commitf44a8a8f19aff191fb1dc0631e37ec30ff087c25
treede261a35429ef6cddec89160b40c8755ded26362
parentf239f78ea473e75fe0728942b5af06ff7d9c6361
yahttp: Better detection of whether C++11 features are available

The previous version relied on having `HAVE_CXX11` defined, which
is not true when you are compiling with C++17, for example, even
though the C++11 features are available (`HAVE_CXX17` is defined
but that does not help).
ext/yahttp/yahttp/reqresp.hpp
ext/yahttp/yahttp/router.cpp
ext/yahttp/yahttp/router.hpp