summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/ptlongjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old/ptlongjmp.c')
-rw-r--r--libpthread/linuxthreads.old/ptlongjmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/ptlongjmp.c b/libpthread/linuxthreads.old/ptlongjmp.c
index b3ff2746f..5213a4de0 100644
--- a/libpthread/linuxthreads.old/ptlongjmp.c
+++ b/libpthread/linuxthreads.old/ptlongjmp.c
@@ -35,13 +35,13 @@ static void pthread_cleanup_upto(__jmp_buf target)
c != NULL && _JMPBUF_UNWINDS(target, c);
c = c->__prev)
{
-#if _STACK_GROWS_DOWN
+#ifdef _STACK_GROWS_DOWN
if ((char *) c <= currentframe)
{
c = NULL;
break;
}
-#elif _STACK_GROWS_UP
+#elif defined _STACK_GROWS_UP
if ((char *) c >= currentframe)
{
c = NULL;