diff --git a/test/unit/fork.c b/test/unit/fork.c index d64f2e09..46c815ef 100644 --- a/test/unit/fork.c +++ b/test/unit/fork.c @@ -1,9 +1,12 @@ #include "test/jemalloc_test.h" +#ifndef _WIN32 #include +#endif TEST_BEGIN(test_fork) { +#ifndef _WIN32 void *p; pid_t pid; @@ -46,6 +49,9 @@ TEST_BEGIN(test_fork) } } } +#else + test_skip("fork(2) is irrelevant to Windows"); +#endif } TEST_END