Align libgc vcxproj with makefile.
[mono.git] / mono / utils / mono-dl-posix.c
index b48a1831d757df85fc1f2f9c1f6756f91cba9695..ea1b595c4a5b6b66bb0016c10ef2cc4ed2706c98 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * mono-dl.c: Interface to the dynamic linker
+/**
+ * \file
+ * Interface to the dynamic linker
  *
  * Author:
  *    Mono Team (http://www.mono-project.com)
@@ -14,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"
@@ -60,7 +61,7 @@ mono_dl_get_system_dir (void)
 void *
 mono_dl_open_file (const char *file, int flags)
 {
-#ifdef PLATFORM_ANDROID
+#ifdef HOST_ANDROID
        /* Bionic doesn't support NULL filenames */
        if (!file)
                return NULL;