Skip to content

Commit 09df159

Browse files
committed
[test-suite] Disable CLAMR fmemopen() substitute function on FreeBSD / OpenBSD and AIX
FreeBSD (9.2+) / OpenBSD (5.4+) and AIX (6.1+) all have the fmemopen() function nowadays. Reviewed By: dim, daltenty Differential Revision: https://reviews.llvm.org/D146374
1 parent aa159f7 commit 09df159

File tree

1 file changed

+3
-1
lines changed
  • MultiSource/Benchmarks/DOE-ProxyApps-C++/CLAMR

1 file changed

+3
-1
lines changed

MultiSource/Benchmarks/DOE-ProxyApps-C++/CLAMR/fmemopen.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
// limitations under the License.
1616
//
1717

18-
#if !defined(__linux__) && !defined(__NetBSD__) && !(defined(__sun__) && defined(__svr4__))
18+
#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && \
19+
!defined(__OpenBSD__) && !(defined(__sun__) && defined(__svr4__)) && \
20+
!defined(_AIX)
1921

2022
#include <stdio.h>
2123
#include <stdlib.h>

0 commit comments

Comments
 (0)