diff options
Diffstat (limited to 'test/test-close-fd.c')
-rw-r--r-- | test/test-close-fd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test-close-fd.c b/test/test-close-fd.c index 93a7bd7c..2ed9a100 100644 --- a/test/test-close-fd.c +++ b/test/test-close-fd.c @@ -73,4 +73,8 @@ TEST_IMPL(close_fd) { return 0; } -#endif /* !defined(_WIN32) */ +#else + +typedef int file_has_no_tests; /* ISO C forbids an empty translation unit. */ + +#endif /* !_WIN32 */ |