summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/sys/t_poll.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-11-17 13:39:00 +0000
committerngie <ngie@FreeBSD.org>2014-11-17 13:39:00 +0000
commit8177391ac84430aeb73987802ea58e8bfe9ba72b (patch)
tree5afba437c6e7f13eeeb63c7313aa547c8c24536d /contrib/netbsd-tests/lib/libc/sys/t_poll.c
parente5d03fbe91f9f0c573d55b2d87f2a1eb517ba14b (diff)
downloadFreeBSD-src-8177391ac84430aeb73987802ea58e8bfe9ba72b.zip
FreeBSD-src-8177391ac84430aeb73987802ea58e8bfe9ba72b.tar.gz
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
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/sys/t_poll.c')
-rw-r--r--contrib/netbsd-tests/lib/libc/sys/t_poll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_poll.c b/contrib/netbsd-tests/lib/libc/sys/t_poll.c
index 805773d..6214486 100644
--- a/contrib/netbsd-tests/lib/libc/sys/t_poll.c
+++ b/contrib/netbsd-tests/lib/libc/sys/t_poll.c
@@ -233,7 +233,7 @@ ATF_TC_BODY(poll_err, tc)
ATF_REQUIRE_ERRNO(EINVAL, poll(&pfd, 1, -2) == -1);
}
-#if !defined(__FreeBSD__)
+#ifndef __FreeBSD__
ATF_TC(pollts_basic);
ATF_TC_HEAD(pollts_basic, tc)
{
@@ -386,7 +386,7 @@ ATF_TP_ADD_TCS(tp)
ATF_TP_ADD_TC(tp, poll_3way);
ATF_TP_ADD_TC(tp, poll_basic);
ATF_TP_ADD_TC(tp, poll_err);
-#if !defined(__FreeBSD__)
+#ifndef __FreeBSD__
ATF_TP_ADD_TC(tp, pollts_basic);
ATF_TP_ADD_TC(tp, pollts_err);
ATF_TP_ADD_TC(tp, pollts_sigmask);
OpenPOWER on IntegriCloud