Merge pull request #3442 from lateralusX/jlorenss/win-atexit-commands
[mono.git] / mono / mini / mini-runtime.c
index 617682fcec32c60f83dba9f5456da1e2241351d2..92eb960a82278bc8c39c64cbb37d2cbeb5c5fb1f 100644 (file)
@@ -4256,3 +4256,23 @@ mono_personality (void)
        /* Not used */
        g_assert_not_reached ();
 }
+
+// Custom handlers currently only implemented by Windows.
+#ifndef HOST_WIN32
+gboolean
+mono_runtime_install_custom_handlers (const char *handlers)
+{
+       return FALSE;
+}
+
+void
+mono_runtime_install_custom_handlers_usage (void)
+{
+       fprintf (stdout,
+                "Custom Handlers:\n"
+                "   --handlers=HANDLERS            Enable handler support, HANDLERS is a comma\n"
+                "                                  separated list of available handlers to install.\n"
+                "\n"
+                "No handlers supported on current platform.\n");
+}
+#endif /* HOST_WIN32 */