X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-nonblocking.c;h=051483e1ec8ec7f891905eb3c0dad331a56db351;hb=dd91a295844a6e89ce67087164ea0f2e979b4b70;hp=bfeef7bf71ae21d8c14cfa448d1640183b22d6eb;hpb=4a1579d7560659ef5723325726eda14490a967f6;p=gnulib.git diff --git a/tests/test-nonblocking.c b/tests/test-nonblocking.c index bfeef7bf7..051483e1e 100644 --- a/tests/test-nonblocking.c +++ b/tests/test-nonblocking.c @@ -1,5 +1,5 @@ /* Test manipulation of non-blocking flag. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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. */ {