aboutsummaryrefslogtreecommitdiff
path: root/test/test-fork.c
diff options
context:
space:
mode:
authorJameson Nash <vtjnash@gmail.com>2018-11-05 16:03:19 -0500
committerJameson Nash <vtjnash@gmail.com>2018-11-29 11:21:44 -0500
commitc5593b51dc98715f7f32a919301b5801ebf1a8ce (patch)
tree68083703aa316ca99eaf1ebd4e423ccf64dc9a57 /test/test-fork.c
parentf1981d74ba880f010bfde6c98647bbb426a6d126 (diff)
downloadlibuv-c5593b51dc98715f7f32a919301b5801ebf1a8ce.tar.gz
libuv-c5593b51dc98715f7f32a919301b5801ebf1a8ce.zip
warnings: fix code that emits compiler warnings
PR-URL: https://github.com/libuv/libuv/pull/2066 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'test/test-fork.c')
-rw-r--r--test/test-fork.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-fork.c b/test/test-fork.c
index f47ae3e6..9e4684f0 100644
--- a/test/test-fork.c
+++ b/test/test-fork.c
@@ -676,5 +676,8 @@ TEST_IMPL(fork_threadpool_queue_work_simple) {
}
#endif /* !__MVS__ */
+#else
+
+typedef int file_has_no_tests; /* ISO C forbids an empty translation unit. */
#endif /* !_WIN32 */