From 102e30eaa9b4323900567ebf580ce28e013aaf7b Mon Sep 17 00:00:00 2001 From: Brendan Chandler Date: Wed, 3 Mar 2021 17:02:03 -0600 Subject: [PATCH] rtems_config: Guard using __RTEMS_MAJOR__ rather than net stack --- modules/libcom/RTEMS/posix/rtems_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libcom/RTEMS/posix/rtems_config.c b/modules/libcom/RTEMS/posix/rtems_config.c index 65c8ae96b..e51912cf5 100644 --- a/modules/libcom/RTEMS/posix/rtems_config.c +++ b/modules/libcom/RTEMS/posix/rtems_config.c @@ -88,7 +88,7 @@ extern void *POSIX_Init(void *argument); //#define RTEMS_PCI_CONFIG_LIB //#define CONFIGURE_PCI_LIB PCI_LIB_AUTO -#ifndef RTEMS_LEGACY_STACK +#ifndef __RTEMS_MAJOR__ > 4 #define CONFIGURE_SHELL_COMMANDS_INIT #include