diff --git a/panda/src/pipeline/contextSwitch.c b/panda/src/pipeline/contextSwitch.c index ba9f3042b2..a46c43d651 100644 --- a/panda/src/pipeline/contextSwitch.c +++ b/panda/src/pipeline/contextSwitch.c @@ -19,7 +19,7 @@ #ifdef THREAD_SIMPLE_IMPL -#if defined(HAVE_UCONTEXT_H) +#if defined(PHAVE_UCONTEXT_H) /* The getcontext() / setcontext() implementation. Easy-peasy. */ diff --git a/panda/src/pipeline/contextSwitch.h b/panda/src/pipeline/contextSwitch.h index bf446be187..ce64a67fd2 100644 --- a/panda/src/pipeline/contextSwitch.h +++ b/panda/src/pipeline/contextSwitch.h @@ -30,7 +30,7 @@ #ifdef THREAD_SIMPLE_IMPL -#if defined(HAVE_UCONTEXT_H) +#if defined(PHAVE_UCONTEXT_H) /* We'd prefer to use getcontext() / setcontext() to portably change execution contexts within C code. That's what these library functions are designed for. */