Add missing #ifdef FEATURE_ICASTABLE
authorJan Kotas <jkotas@microsoft.com>
Mon, 23 May 2016 16:37:25 +0000 (09:37 -0700)
committerJan Kotas <jkotas@microsoft.com>
Mon, 23 May 2016 16:37:25 +0000 (09:37 -0700)
[tfs-changeset: 1607333]

Commit migrated from https://github.com/dotnet/coreclr/commit/438383fdfd517d98116dd7735bc7ba00d0957598

src/coreclr/src/vm/metasig.h

index 4509307..5bf2903 100644 (file)
@@ -675,8 +675,10 @@ DEFINE_METASIG(SM(RefObject_Object_Object_RetObject, r(j) j j, j))
 DEFINE_METASIG_T(SM(RefCleanupWorkList_RetVoid, r(C(CLEANUP_WORK_LIST)), v))
 DEFINE_METASIG_T(SM(RefCleanupWorkList_SafeHandle_RetIntPtr, r(C(CLEANUP_WORK_LIST)) C(SAFE_HANDLE), I))
 
+#ifdef FEATURE_ICASTABLE
 DEFINE_METASIG_T(SM(ICastable_RtType_RefException_RetBool, C(ICASTABLE) C(CLASS) r(C(EXCEPTION)), F))
 DEFINE_METASIG_T(SM(ICastable_RtType_RetRtType, C(ICASTABLE) C(CLASS), C(CLASS)))
+#endif // FEATURE_ICASTABLE
 
 DEFINE_METASIG_T(IM(ArrByte_Int_Int_AsyncCallback_Object_RetIAsyncResult, a(b) i i C(ASYNCCALLBACK) j, C(IASYNCRESULT)))
 DEFINE_METASIG_T(IM(IAsyncResult_RetInt, C(IASYNCRESULT), i))