* [configure] Cosmetic AC_MSG_WARN fix
* [runtime] Mark mono_file_map_error as MONO_API, always
Fixed the `--with-static_mono=no` build on non-Win32
* [sdks] dynamically link libmonosgen to mono-sgen for monodroid host builds
Commit migrated from https://github.com/mono/mono/commit/
927c608184b86b6c03958ba9aecec02340cd0661
$disabled
"
if test x$with_static_mono = xno -a "x$host_win32" != "xyes"; then
- AC_MSG_WARN(Turning off static Mono is a risk, you might run into unexpected bugs)
+ AC_MSG_WARN([Turning off static Mono is a risk, you might run into unexpected bugs])
fi
// Last two parameters are optional.
// This is mono_file_map but with optionally returning an error message.
// See https://github.com/mono/mono/issues/8225.
-#if defined (HOST_WIN32)
MONO_API
-#elif defined (__cplusplus)
-G_EXTERN_C
-#endif
void*
mono_file_map_error (size_t length, int flags, int fd, guint64 offset, void **ret_handle, const char *filepath, char **error_message);
MONO_API int mono_file_unmap (void *addr, void *handle);