diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-04-27 10:23:45 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-05-04 13:49:37 +1000 |
commit | 717fbc42c3d518b3973b32ff25c4a2764295dbd6 (patch) | |
tree | 1f21272aa438c3d08c80ace6123f63d31502c6e3 /test | |
parent | 251023b9e445d92ec932b92e5969e9fd47be2a5f (diff) |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/litest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/litest.c b/test/litest.c index c7869e8..9eadc45 100644 --- a/test/litest.c +++ b/test/litest.c @@ -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> |