Fixed calling convention for non-Windows platforms

This commit is contained in:
Stefanos A. 2013-11-25 00:58:09 +01:00
parent e65f206554
commit 0f609f6e22

View file

@ -120,7 +120,7 @@ namespace OpenTK.Rewrite
{
var signature = new CallSite(reference.ReturnType)
{
CallingConvention = MethodCallingConvention.StdCall,
CallingConvention = MethodCallingConvention.Default,
};
if (reference is GenericInstanceMethod)
{