diff --git a/nshlib/nsh_parse.c b/nshlib/nsh_parse.c index 8afd33116..a0ec6f9cd 100644 --- a/nshlib/nsh_parse.c +++ b/nshlib/nsh_parse.c @@ -1269,7 +1269,7 @@ static FAR char *nsh_argexpand(FAR struct nsh_vtbl_s *vtbl, FAR char *cmdline, else #endif -#ifdef CONFIG_NSH_VARS +#ifdef NSH_HAVE_VARS /* Check if we encountered a reference to an environment variable */ if (*ptr == '$')