X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ferrno.h;h=5a8816d0a1d847d07f9b3a0d438c9d269c9207dc;hb=6786ce1ce14feb4d02854a0c04bc0cce505be46e;hp=652ad673068a6b6d1b8defb5334b183f2e2e2395;hpb=27c6d9663c3f42059514e47c17652304a1cfcfc9;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/errno.h b/include/errno.h index 652ad67..5a8816d 100644 --- a/include/errno.h +++ b/include/errno.h @@ -25,7 +25,7 @@ extern int errno __errno_asm_label; * Return: string describing the error. If CONFIG_ERRNO_STR is not * defined an empty string is returned. */ -#ifdef CONFIG_ERRNO_STR +#if CONFIG_IS_ENABLED(ERRNO_STR) const char *errno_str(int errno); #else static const char error_message[] = "";