Skip to content
Snippets Groups Projects
Commit 162b3ed7 authored by Modestas Vainius's avatar Modestas Vainius Committed by Brad King
Browse files

SystemInformation: Fix compilation on GNU/{kFreeBSD,Hurd}

Includes of `cxxabi.h`, `execinfo.h`, etc. were guarded more
restrictively (e.g. additionally by `__linux`) than the code which needs
them (just by e.g.  `KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE`).
kFreeGNU has some of these headers so extend the `__linux` ifdef to
`kFreeBSD` and `Hurd` as well.

Ideally the code should be fixed to have the same level of ifdef
protection for both include and use of these APIs, but this is good
enough for now pending further investigation.
parent 1809bedd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment