summaryrefslogtreecommitdiff
path: root/tests/test-nonblocking.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-nonblocking.c')
-rw-r--r--tests/test-nonblocking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-nonblocking.c b/tests/test-nonblocking.c
index bfeef7bf71..f3f1f1355b 100644
--- a/tests/test-nonblocking.c
+++ b/tests/test-nonblocking.c
@@ -79,7 +79,7 @@ main (void)
ASSERT (close (fd_pipe[1]) == 0);
#endif /* GNULIB_TEST_PIPE2 */
-#if GNULIB_SOCKET
+#if GNULIB_TEST_SOCKET
{
/* Test sockets. */
bool sock_works = true;
@@ -104,7 +104,7 @@ main (void)
ASSERT (close (fd_sock) == 0);
# endif /* SOCK_NONBLOCK */
}
-#endif /* GNULIB_SOCKET */
+#endif /* GNULIB_TEST_SOCKET */
/* Test error handling. */
{