summaryrefslogtreecommitdiff
path: root/usr/src/test/libc-tests
diff options
context:
space:
mode:
authorAlexander Eremin <a.eremin@nexenta.com>2016-07-29 00:38:59 -0700
committerRobert Mustacchi <rm@joyent.com>2016-08-06 09:21:48 -0700
commit0cc4b3ed113ebd5447f33e18c4a6323f75aa1fe5 (patch)
tree61286205a585ea33489b52e579c3bc6cc3fddbaa /usr/src/test/libc-tests
parent52c3bda44c39c1301008f3db120ba03a31e61931 (diff)
downloadillumos-gate-0cc4b3ed113ebd5447f33e18c4a6323f75aa1fe5.tar.gz
7159 libc-tests build failed on sparc
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/test/libc-tests')
-rw-r--r--usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c b/usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c
index 71a58c30fd..9d58a7126d 100644
--- a/usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c
+++ b/usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c
@@ -75,9 +75,6 @@ static pthread_attr_t pgn_attr;
static pthread_attr_t pgn_thr_attr;
static pthread_barrier_t pgn_barrier;
-#ifdef __sparc
-#define gregs __gregs
-#endif
/*
* Verify that the stack pointer of a context is consistent with where the
@@ -100,9 +97,6 @@ pgn_verif_thr_stack(pthread_attr_t *attr)
VERIFY3U(sp, <, (uintptr_t)stk + stksz);
}
-#ifdef __sparc
-#undef gregs
-#endif
static void
pgn_test_fini(void)