Browse Source

Fix compiler error by renaming HAVE_UCONTEXT_H -> PHAVE_UCONTEXT_H

rdb 16 years ago
parent
commit
61e984f63d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      panda/src/pipeline/contextSwitch.c
  2. 1 1
      panda/src/pipeline/contextSwitch.h

+ 1 - 1
panda/src/pipeline/contextSwitch.c

@@ -19,7 +19,7 @@
 
 
 #ifdef THREAD_SIMPLE_IMPL
 #ifdef THREAD_SIMPLE_IMPL
 
 
-#if defined(HAVE_UCONTEXT_H)
+#if defined(PHAVE_UCONTEXT_H)
 
 
 /* The getcontext() / setcontext() implementation.  Easy-peasy. */
 /* The getcontext() / setcontext() implementation.  Easy-peasy. */
 
 

+ 1 - 1
panda/src/pipeline/contextSwitch.h

@@ -30,7 +30,7 @@
 
 
 #ifdef THREAD_SIMPLE_IMPL
 #ifdef THREAD_SIMPLE_IMPL
 
 
-#if defined(HAVE_UCONTEXT_H)
+#if defined(PHAVE_UCONTEXT_H)
 /* We'd prefer to use getcontext() / setcontext() to portably change
 /* We'd prefer to use getcontext() / setcontext() to portably change
    execution contexts within C code.  That's what these library
    execution contexts within C code.  That's what these library
    functions are designed for. */
    functions are designed for. */