[openmp] [test] Use omp_testsuite.h instead of directly including pthread.h
OpenMP tests that use pthread functions include this header instead. On Unix systems, this header includes pthread.h, while it provides minimal implementations of the used pthread functions for Windows. Differential Revision: https://reviews.llvm.org/D137746
This commit is contained in:
parent
4bf5893d1a
commit
323b4309e2
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
#include <pthread.h>
|
||||
#include "omp_testsuite.h"
|
||||
#include "omp_my_sleep.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
#include <pthread.h>
|
||||
#include "omp_testsuite.h"
|
||||
#include "omp_my_sleep.h"
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue