diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-11-24 12:18:04 +0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-11-24 17:12:01 +0200 |
commit | c6577473df7117b7a6e030605df1e28cd0e55708 (patch) | |
tree | 11063c8a2f723869a8da2b7640c5b1fbdfba20ec /overlay/gpu-top.c | |
parent | 2a1c1c099113022f091f9e9585be88c6c9cefec5 (diff) |
lib/igt_core: Move write_stderr out of LIBUNWIND ifdef
write_stderr() and __write_stderr() are defined behind ifdef on
HAVE_LIBUNWIND, but do no depend on the lib in any way.
fatal_sig_handler() uses those helpers unconditionally.
This patch just moves the code couple of lines up, so the helpers are
always available and do not break build on systems without libunwind.
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'overlay/gpu-top.c')
0 files changed, 0 insertions, 0 deletions