Skip to content

Commit d69b8a5

Browse files
committed
Fix IsComObject check for unityjit profile.
1 parent e62e1a0 commit d69b8a5

File tree

1 file changed

+1
-1
lines changed
  • mcs/class/corlib/System.Runtime.InteropServices

1 file changed

+1
-1
lines changed

mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ public static object GetUniqueObjectForIUnknown (IntPtr unknown)
856856
throw new PlatformNotSupportedException ();
857857
}
858858

859-
#if !MOBILE || UNITY_AOT
859+
#if (!MOBILE && !UNITY) || UNITY_AOT
860860
[MethodImplAttribute (MethodImplOptions.InternalCall)]
861861
public extern static bool IsComObject (object o);
862862
#else

0 commit comments

Comments
 (0)