[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:
Martin Storsjö 2022-11-02 13:35:50 +00:00
parent 4bf5893d1a
commit 323b4309e2
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
#include <stdio.h>
#include <omp.h>
#include <pthread.h>
#include "omp_testsuite.h"
#include "omp_my_sleep.h"
/*

View File

@ -8,7 +8,7 @@
#include <stdio.h>
#include <omp.h>
#include <pthread.h>
#include "omp_testsuite.h"
#include "omp_my_sleep.h"
/*