mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
When NOLIBC_IGNORE_ERRNO is set, various bits of nolibc are disabled. Make sure that all the ifdeffery does not result in any compilation errors by compiling a dummy source file. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Acked-by: Willy Tarreau <w@1wt.eu> Link: https://patch.msgid.link/20260311-nolibc-err-h-v1-2-735a9de7f15d@weissschuh.net
7 lines
151 B
C
7 lines
151 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#define NOLIBC_IGNORE_ERRNO
|
|
|
|
/* Include all of nolibc and make sure everything compiles */
|
|
#include <stdlib.h>
|