[wasm] Make sure we don't use the posix dl backend with wasm
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 31 Aug 2017 18:19:15 +0000 (11:19 -0700)
committerRodrigo Kumpera <kumpera@gmail.com>
Fri, 1 Sep 2017 21:52:54 +0000 (14:52 -0700)
mono/utils/mono-dl-posix.c

index c2b2b96d9d7419c0eea9d9400a84da27323b6d7a..ea1b595c4a5b6b66bb0016c10ef2cc4ed2706c98 100644 (file)
@@ -15,7 +15,7 @@
 #include <unistd.h>
 #endif
 
-#if defined(_POSIX_VERSION)
+#if defined(_POSIX_VERSION) && !defined (HOST_WASM)
 
 #include "mono/utils/mono-dl.h"
 #include "mono/utils/mono-embed.h"