From 8177391ac84430aeb73987802ea58e8bfe9ba72b Mon Sep 17 00:00:00 2001 From: ngie Date: Mon, 17 Nov 2014 13:39:00 +0000 Subject: Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with their #ifdef equivalents for everything changed in contrib/netbsd-tests. There are some items from the vendor tree that use #if defined(__FreeBSD__) or #if defined(__NetBSD__) which are being left alone Requested by: bde, rpaulo Sponsored by: EMC / Isilon Storage Division --- contrib/netbsd-tests/lib/libpthread/h_atexit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/netbsd-tests/lib/libpthread/h_atexit.c') diff --git a/contrib/netbsd-tests/lib/libpthread/h_atexit.c b/contrib/netbsd-tests/lib/libpthread/h_atexit.c index edcf066..29b8775 100644 --- a/contrib/netbsd-tests/lib/libpthread/h_atexit.c +++ b/contrib/netbsd-tests/lib/libpthread/h_atexit.c @@ -180,7 +180,7 @@ main(int argc, char *argv[]) exiting_state = 5; -#if defined(__FreeBSD__) +#ifdef __FreeBSD__ ASSERT(0 == atexit(normal_handler_0)); ASSERT(0 == atexit(normal_handler_1)); ASSERT(0 == __cxa_atexit(cxa_handler_4, &arg_1, dso_handle_1)); -- cgit v1.1