diff --git a/examples/ostest/Makefile b/examples/ostest/Makefile index ca8d145e7..99d4d3adf 100644 --- a/examples/ostest/Makefile +++ b/examples/ostest/Makefile @@ -80,7 +80,7 @@ ifeq ($(CONFIG_FS_NAMED_SEMAPHORES),y) CSRCS += nsem.c endif -ifeq ($(CONFIG_MUTEX_TYPES),y) +ifeq ($(CONFIG_PTHREAD_MUTEX_TYPES),y) CSRCS += rmutex.c endif diff --git a/examples/ostest/ostest_main.c b/examples/ostest/ostest_main.c index d303a9be4..7d1734c97 100644 --- a/examples/ostest/ostest_main.c +++ b/examples/ostest/ostest_main.c @@ -373,7 +373,7 @@ static int user_main(int argc, char *argv[]) check_test_memory_usage(); #endif -#if !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_MUTEX_TYPES) +#if !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_PTHREAD_MUTEX_TYPES) /* Verify recursive mutexes */ printf("\nuser_main: recursive mutex test\n");