[Openmp-commits] [PATCH] D55487: [openmp] [test] [runtime] Do not include alloca.h on NetBSD

Michał Górny via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 11 07:44:44 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL348856: [test] [runtime] Do not include alloca.h on NetBSD (authored by mgorny, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D55487?vs=177429&id=177712#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55487/new/

https://reviews.llvm.org/D55487

Files:
  openmp/trunk/runtime/test/ompt/misc/interoperability.cpp


Index: openmp/trunk/runtime/test/ompt/misc/interoperability.cpp
===================================================================
--- openmp/trunk/runtime/test/ompt/misc/interoperability.cpp
+++ openmp/trunk/runtime/test/ompt/misc/interoperability.cpp
@@ -3,7 +3,11 @@
 
 #include <iostream>
 #include <thread>
+#if !defined(__NetBSD__)
 #include <alloca.h>
+#else
+#include <cstdlib>
+#endif
 
 #include "callback.h"
 #include "omp.h"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55487.177712.patch
Type: text/x-patch
Size: 438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20181211/f9677f9b/attachment.bin>


More information about the Openmp-commits mailing list