mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-20 08:50:35 +01:00
test: switch from #ifdef to #if HAVE_LIBUNWIND
We use #if everywhere else and it allows building with '-Wundef -Werror=undef' to avoid accidental misuse. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
251023b9e4
commit
717fbc42c3
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ static void litest_remove_udev_rules(struct list *created_files_list);
|
|||
#define litest_vlog(...) { /* __VA_ARGS__ */ }
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBUNWIND
|
||||
#if HAVE_LIBUNWIND
|
||||
#define UNW_LOCAL_ONLY
|
||||
#include <libunwind.h>
|
||||
#include <dlfcn.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue