diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-02-26 19:23:10 +0100 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-03 18:22:48 +0100 |
commit | 099b65127dd434846ca75d5fb11c2db303ed77a6 (patch) | |
tree | 3a3f4498bef6ef3ea6e300aa5932f600a39fff0c /libpthread/linuxthreads/ptcleanup.c | |
parent | df25e26ca756038711354a32f7765ee6fa75b2ec (diff) |
avoid warnings on _STACK_GROWS_* usage
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'libpthread/linuxthreads/ptcleanup.c')
-rw-r--r-- | libpthread/linuxthreads/ptcleanup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/ptcleanup.c b/libpthread/linuxthreads/ptcleanup.c index 6213b56f3..75bb7d599 100644 --- a/libpthread/linuxthreads/ptcleanup.c +++ b/libpthread/linuxthreads/ptcleanup.c @@ -49,13 +49,13 @@ void __pthread_cleanup_upto (__jmp_buf target, char *targetframe) c != NULL && __JMPBUF_UNWINDS(target, c, demangle_ptr); c = c->__prev) { -#if _STACK_GROWS_DOWN +#ifdef _STACK_GROWS_DOWN if ((char *) c <= targetframe) { c = NULL; break; } -#elif _STACK_GROWS_UP +#elif defined _STACK_GROWS_UP if ((char *) c >= targetframe) { c = NULL; |