mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
explicitely allow disabling unwind, test for header and function too
This commit is contained in:
parent
98b94dea15
commit
24261fdc45
4 changed files with 69 additions and 4 deletions
|
@ -565,7 +565,7 @@ GSListModules()
|
|||
#endif /* USE_BFD */
|
||||
|
||||
|
||||
#if defined(HAVE_UNWIND_H) && !defined(HAVE_BACKTRACE)
|
||||
#if defined(WITH_UNWIND) && !defined(HAVE_BACKTRACE)
|
||||
|
||||
#include <unwind.h>
|
||||
#if !defined(_WIN32)
|
||||
|
@ -593,7 +593,7 @@ GSUnwindCallback(struct _Unwind_Context* context, void* arg)
|
|||
return 0; //_URC_OK/_URC_NO_REASON
|
||||
}
|
||||
|
||||
#endif /* HAVE_UNWIND_H && !HAVE_BACKTRACE */
|
||||
#endif /* WITH_UNWIND && !HAVE_BACKTRACE */
|
||||
|
||||
|
||||
#if defined(_WIN32) && !defined(USE_BFD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue