Convert CONFIG_SYS_INTERLAKEN et al to Kconfig
[platform/kernel/u-boot.git] / include / errno.h
index 652ad67..5a8816d 100644 (file)
@@ -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[] = "";