diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-05-10 06:44:30 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-05-10 06:44:30 +0000 |
commit | 96bad006f14ac46ca7a59dc4c5ba5ed9ef7a1560 (patch) | |
tree | 9e209798f73466fb9622bf0a9b14f4fabf00eb29 /nptl/tst-getpid1.c | |
parent | 2a0a747e57ec96bab9d4a6b7c0b32df82a41316e (diff) |
Updated to fedora-glibc-20070510T0634cvs/fedora-glibc-2_5_90-23
Diffstat (limited to 'nptl/tst-getpid1.c')
-rw-r--r-- | nptl/tst-getpid1.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nptl/tst-getpid1.c b/nptl/tst-getpid1.c index f9fd4fc0ca..e15cb61151 100644 --- a/nptl/tst-getpid1.c +++ b/nptl/tst-getpid1.c @@ -48,7 +48,13 @@ do_test (void) pid_t p = __clone2 (f, st, sizeof (st), TEST_CLONE_FLAGS, 0); #else char st[128 * 1024] __attribute__ ((aligned)); +# if _STACK_GROWS_DOWN pid_t p = clone (f, st + sizeof (st), TEST_CLONE_FLAGS, 0); +# elif _STACK_GROWS_UP + pid_t p = clone (f, st, TEST_CLONE_FLAGS, 0); +# else +# error "Define either _STACK_GROWS_DOWN or _STACK_GROWS_UP" +# endif #endif if (p == -1) { |