Skip to content

Commit 323b430

Browse files
committed
[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
1 parent 4bf5893 commit 323b430

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openmp/runtime/test/tasking/bug_nested_proxy_task.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdio.h>
1010
#include <omp.h>
11-
#include <pthread.h>
11+
#include "omp_testsuite.h"
1212
#include "omp_my_sleep.h"
1313

1414
/*

openmp/runtime/test/tasking/bug_proxy_task_dep_waiting.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <stdio.h>
1010
#include <omp.h>
11-
#include <pthread.h>
11+
#include "omp_testsuite.h"
1212
#include "omp_my_sleep.h"
1313

1414
/*

0 commit comments

Comments
 (0)