mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-11 08:48:12 +00:00
Windows: Fix _CPPUNWIND definition to follow -fcxx-exceptions
This is consistent with how we interpret the MSVC /EH flag, which controls -fcxx-exceptions. llvm-svn: 227616
This commit is contained in:
parent
2d80ea1939
commit
165143587a
@ -600,7 +600,7 @@ protected:
|
||||
if (Opts.RTTIData)
|
||||
Builder.defineMacro("_CPPRTTI");
|
||||
|
||||
if (Opts.Exceptions)
|
||||
if (Opts.CXXExceptions)
|
||||
Builder.defineMacro("_CPPUNWIND");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user