Make sure that fork_test.c is not built under windows

This commit is contained in:
Olivier Grisel 2014-02-19 19:14:13 +01:00
parent 138a841390
commit a14f98ca7c
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**********************************************************************************/ **********************************************************************************/
#ifndef OS_WINDOWS
#include "common_utest.h" #include "common_utest.h"
#include <sys/wait.h> #include <sys/wait.h>
#include <cblas.h> #include <cblas.h>
@ -56,7 +57,6 @@ void check_dgemm(double *a, double *b, double *result, double *expected, int n)
} }
} }
void test_fork_safety(void) void test_fork_safety(void)
{ {
int n = 1000; int n = 1000;
@ -120,3 +120,4 @@ void test_fork_safety(void)
CU_ASSERT(WEXITSTATUS (child_status) == 0); CU_ASSERT(WEXITSTATUS (child_status) == 0);
} }
} }
#endif