From 16491eaca724a689a673caaca0d2b0f25ab0997f Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Wed, 28 Sep 2022 09:57:39 +0200 Subject: [PATCH] sys/string_utils: fix check for native --- sys/include/string_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/string_utils.h b/sys/include/string_utils.h index 50f3db8a47..46bfb3def4 100644 --- a/sys/include/string_utils.h +++ b/sys/include/string_utils.h @@ -47,7 +47,7 @@ extern "C" { * * for all other cases, we provide it here */ -#if !defined(BOARD_NATIVE) \ +#if !defined(CPU_NATIVE) \ && !(IS_USED(MODULE_PICOLIBC) && __BSD_VISIBLE) \ && !(IS_USED(MODULE_NEWLIB) && __BSD_VISIBLE && !defined(MCU_ESP8266))