Merge pull request #3676 from chamons/SignalHandlerAPI_XM45
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 30 Sep 2016 12:56:38 +0000 (14:56 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Sep 2016 12:56:38 +0000 (14:56 +0200)
Add Mono.Runtime to XM 4.5 profile

mcs/class/corlib/Mono/Runtime.cs

index efac37b709affdcf88a28ff4184b3d07043f777d..12148ed85d84c200f318fe12be0d087504dfff80 100644 (file)
@@ -31,7 +31,7 @@ using System.Runtime.CompilerServices;
 
 namespace Mono {
 
-#if MOBILE
+#if MOBILE || XAMMAC_4_5
        public
 #endif
        static class Runtime
@@ -40,7 +40,7 @@ namespace Mono {
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                private static extern void mono_runtime_install_handlers ();
 
-#if MOBILE
+#if MOBILE || XAMMAC_4_5
                public
 #else
                internal
@@ -50,7 +50,7 @@ namespace Mono {
                        mono_runtime_install_handlers ();
                }
 
-#if MOBILE
+#if MOBILE || XAMMAC_4_5
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                static extern void mono_runtime_cleanup_handlers ();
 
@@ -64,7 +64,7 @@ namespace Mono {
                // Safe to be called using reflection
                // Format is undefined only for use as a string for reporting
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
-#if MOBILE
+#if MOBILE || XAMMAC_4_5
                public
 #else
                internal