Jo-Philipp Wich f3ab336d7c tools: libelf: fix headers to trigger -Wundef warnings
When libelf from tools/ is used for building the kernel, compilation
aborts due to access to undefined defines since Kbuild adds -Wundef
to the compiler flags.

Patch the header files to use `#if defined(...)` instead of `#if ...`
to prevent such issues.

Ref: https://github.com/NixOS/nixpkgs/issues/59929
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-03 10:44:21 +02:00
..
2019-05-22 21:27:44 +02:00
2019-06-22 10:23:56 +02:00
2019-08-04 13:53:05 +02:00
2019-09-01 18:38:05 +02:00
2019-08-06 14:03:09 +02:00
2018-11-25 19:23:03 +01:00
2019-07-08 16:42:26 +02:00
2017-01-03 14:24:33 +01:00
2019-02-26 23:20:04 +01:00
2016-12-16 22:39:22 +01:00
2018-01-18 08:04:18 +01:00
2019-02-10 20:51:09 +01:00
2018-12-24 17:05:57 +01:00
2016-12-16 22:39:22 +01:00
2019-08-13 09:49:50 +02:00
2019-02-10 20:48:25 +01:00
2018-06-08 09:56:26 +02:00
2019-03-10 21:36:28 +01:00
2019-04-07 15:25:28 +02:00