Skip to content

Commit 5555413

Browse files
committed
[OpenMP] Use stdlib.h instead of non-standard malloc.h
This fixes a number of OpenMP test failures on macOS.
1 parent 08dba4c commit 5555413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/runtime/test/worksharing/for/collapse_test.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <omp.h>
2-
#include <malloc.h>
32
#include <stdio.h>
3+
#include <stdlib.h>
44
#include <memory.h>
55

66
#define LOOP_IV_TYPE0 LOOP_TYPES

0 commit comments

Comments
 (0)