Skip to content

Commit a14f98c

Browse files
committed
Make sure that fork_test.c is not built under windows
1 parent 138a841 commit a14f98c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utest/test_fork.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030
3131
**********************************************************************************/
3232

33+
#ifndef OS_WINDOWS
3334
#include "common_utest.h"
3435
#include <sys/wait.h>
3536
#include <cblas.h>
@@ -56,7 +57,6 @@ void check_dgemm(double *a, double *b, double *result, double *expected, int n)
5657
}
5758
}
5859

59-
6060
void test_fork_safety(void)
6161
{
6262
int n = 1000;
@@ -120,3 +120,4 @@ void test_fork_safety(void)
120120
CU_ASSERT(WEXITSTATUS (child_status) == 0);
121121
}
122122
}
123+
#endif

0 commit comments

Comments
 (0)