From 61e984f63d90403074f8c1f54e8a144c3bdca921 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 27 Aug 2009 08:22:44 +0000 Subject: [PATCH] Fix compiler error by renaming HAVE_UCONTEXT_H -> PHAVE_UCONTEXT_H --- panda/src/pipeline/contextSwitch.c | 2 +- panda/src/pipeline/contextSwitch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. */