diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2021-09-09 21:41:51 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-07-12 19:01:09 +0300 |
commit | d8b294af03840c7c47d6b7b0d4c0d6d2f6357dfa (patch) | |
tree | 1a2e76e5eb868f8dd22d19b24a2df471e55144eb /cmake/tuklib_common.cmake | |
parent | xzdiff: Update the man page about the exit status. (diff) | |
download | xz-d8b294af03840c7c47d6b7b0d4c0d6d2f6357dfa.tar.xz |
liblzma: Use _MSVC_LANG to detect when "noexcept" can be used with MSVC.
By default, MSVC always sets __cplusplus to 199711L. The real
C++ standard version is available in _MSVC_LANG (or one could
use /Zc:__cplusplus to set __cplusplus correctly).
Fixes <https://sourceforge.net/p/lzmautils/discussion/708858/thread/f6bc3b108a/>.
Thanks to Dan Weiss.
Diffstat (limited to 'cmake/tuklib_common.cmake')
0 files changed, 0 insertions, 0 deletions