summaryrefslogtreecommitdiffstats
path: root/src/include/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/thread.h')
-rw-r--r--src/include/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/thread.h b/src/include/thread.h
index f414db028165..059ba52a2c39 100644
--- a/src/include/thread.h
+++ b/src/include/thread.h
@@ -37,7 +37,7 @@ int thread_run_until(struct thread_handle *handle, enum cb_err (*func)(void *),
/* Waits until the thread has terminated and returns the error code */
enum cb_err thread_join(struct thread_handle *handle);
-#if ENV_STAGE_SUPPORTS_COOP
+#if ENV_SUPPORTS_COOP
struct thread {
int id;