[PATCH] kbuild: undefine linux/unix macros
Sascha Hauer
s.hauer at pengutronix.de
Mon Mar 31 00:11:02 PDT 2025
On Thu, 27 Mar 2025 14:20:52 +0100, Bastian Krause wrote:
> gcc and clang, when using `-std=gnu11`, predefine `linux` and `unix` as
> macros:
>
> $ gcc -std=gnu11 -dM -E - < /dev/null | grep -v "define _"
> #define unix 1
> #define linux 1
>
> [...]
Applied, thanks!
[1/1] kbuild: undefine linux/unix macros
https://git.pengutronix.de/cgit/barebox/commit/?id=3e0790af5618 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list