ports/devel/flang/files/patch-runtime_flangrti_mpmalloc.c
Johannes M Dieterich acd34c008f devel/flang: update to the latest upstream snapshot
OpenMP now works in my tests.
2019-10-21 00:23:17 +00:00

11 lines
261 B
C

--- runtime/flangrti/mpmalloc.c.orig 2019-10-09 20:28:35 UTC
+++ runtime/flangrti/mpmalloc.c
@@ -17,7 +17,7 @@
/* mp-safe wrappers for malloc, etc. */
-#ifdef TARGET_LINUX
+#if defined TARGET_LINUX && !defined(__FreeBSD__)
#include <features.h>
#endif