summaryrefslogtreecommitdiff
path: root/src/vm/fcall.h
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-03-20 05:15:51 -0700
committerJan Kotas <jkotas@microsoft.com>2015-03-20 05:15:51 -0700
commit9e09144828bd98106218127d17a25d6fab123ae2 (patch)
treed216078efaee32a61ff0239b8d158c225787805e /src/vm/fcall.h
parenteb74cfe415fae5458adda1083b842011cee17728 (diff)
downloadcoreclr-9e09144828bd98106218127d17a25d6fab123ae2.tar.gz
coreclr-9e09144828bd98106218127d17a25d6fab123ae2.tar.bz2
coreclr-9e09144828bd98106218127d17a25d6fab123ae2.zip
Workaround for DECIMAL calling convention in FCalls
Diffstat (limited to 'src/vm/fcall.h')
-rw-r--r--src/vm/fcall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm/fcall.h b/src/vm/fcall.h
index 22829e82ae..1e015a34b2 100644
--- a/src/vm/fcall.h
+++ b/src/vm/fcall.h
@@ -1320,8 +1320,10 @@ typedef UINT16 FC_UINT16_RET;
// Explicitly pass the TypedReferences by reference
// UNIXTODO: Remove once the proper managed calling convention for struct is in place
#define FC_TypedByRef TypedByRef&
+#define FC_DECIMAL DECIMAL&
#else
#define FC_TypedByRef TypedByRef
+#define FC_DECIMAL DECIMAL
#endif