Skip to content

Commit

Permalink
Replace _CPPUNWIND with _HAS_EXCEPTIONS (thanks @DBJDBJ)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoene committed Nov 15, 2020
1 parent 4b167a7 commit 153c6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nonstd/any.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
// Control presence of exception handling (try and auto discover):

#ifndef any_CONFIG_NO_EXCEPTIONS
# if defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND)
# if defined(__cpp_exceptions) || defined(__EXCEPTIONS) || (_HAS_EXCEPTIONS != 0)
# define any_CONFIG_NO_EXCEPTIONS 0
# else
# define any_CONFIG_NO_EXCEPTIONS 1
Expand Down

0 comments on commit 153c6cf

Please sign in to comment.