From 4eafc3169f644801cfd949a122cc61ff0e6efcda Mon Sep 17 00:00:00 2001 From: Rodrigo Kumpera Date: Thu, 31 Aug 2017 11:19:15 -0700 Subject: [PATCH] [wasm] Make sure we don't use the posix dl backend with wasm --- mono/utils/mono-dl-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mono/utils/mono-dl-posix.c b/mono/utils/mono-dl-posix.c index c2b2b96d9d7..ea1b595c4a5 100644 --- a/mono/utils/mono-dl-posix.c +++ b/mono/utils/mono-dl-posix.c @@ -15,7 +15,7 @@ #include #endif -#if defined(_POSIX_VERSION) +#if defined(_POSIX_VERSION) && !defined (HOST_WASM) #include "mono/utils/mono-dl.h" #include "mono/utils/mono-embed.h" -- 2.25.1