aboutsummaryrefslogtreecommitdiff
path: root/test/test-pipe-close-stdout-read-stdin.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-pipe-close-stdout-read-stdin.c')
-rw-r--r--test/test-pipe-close-stdout-read-stdin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-pipe-close-stdout-read-stdin.c b/test/test-pipe-close-stdout-read-stdin.c
index c8804b0e..126be2cc 100644
--- a/test/test-pipe-close-stdout-read-stdin.c
+++ b/test/test-pipe-close-stdout-read-stdin.c
@@ -105,4 +105,8 @@ TEST_IMPL(pipe_close_stdout_read_stdin) {
return 0;
}
+#else
+
+typedef int file_has_no_tests; /* ISO C forbids an empty translation unit. */
+
#endif /* ifndef _WIN32 */