diff options
author | Ron <ron@debian.org> | 2009-06-27 04:44:21 +0930 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-07-09 01:35:24 -0700 |
commit | 4dc09127f6782c77f3d92268d78a46f8a1a8492d (patch) | |
tree | c9694e1a95ec398e0834053dd82d37ee6766137f /libpthread/linuxthreads.old/ptlongjmp.c | |
parent | f241d2e5e336d440db106e972138664baeadfd70 (diff) | |
download | uClibc-alpine-4dc09127f6782c77f3d92268d78a46f8a1a8492d.tar.bz2 uClibc-alpine-4dc09127f6782c77f3d92268d78a46f8a1a8492d.tar.xz |
Check #if feature test macros are defined where they may not be
Once again all of these reduce the noise from gcc-4.4.
Replaces a few more (USE_TLS && HAVE___THREAD) with USE___THREAD while we need
to mess with them for this anyhow.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/linuxthreads.old/ptlongjmp.c')
-rw-r--r-- | libpthread/linuxthreads.old/ptlongjmp.c | 4 |
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; |