summaryrefslogtreecommitdiff
path: root/include/uthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uthread.h')
-rw-r--r--include/uthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uthread.h b/include/uthread.h
index 11a19aa9488..78dab77f196 100644
--- a/include/uthread.h
+++ b/include/uthread.h
@@ -72,7 +72,7 @@ struct uthread_mutex {
#define UTHREAD_MUTEX_INITIALIZER { .state = UTHREAD_MUTEX_UNLOCKED }
-#ifdef CONFIG_UTHREAD
+#if CONFIG_IS_ENABLED(UTHREAD)
/**
* uthread_create() - Create a uthread object and make it ready for execution
@@ -184,5 +184,5 @@ static inline bool uthread_grp_done(unsigned int grp_id)
#define uthread_mutex_trylock(_mutex) ({ 0 })
#define uthread_mutex_unlock(_mutex) ({ 0; })
-#endif /* CONFIG_UTHREAD */
+#endif /* CONFIG_IS_ENABLED(UTHREAD) */
#endif /* _UTHREAD_H_ */