Fix raw_vcall on Win64 builds

MSVC's call conventions on x64 are the same for normal function calls and
member function calls (with the addition of the implicit 'this'
parameter).
develop
Carter Bray 2016-07-31 17:01:57 -07:00
parent 3b9d37abe5
commit 9da2dcb8a2
1 changed files with 1 additions and 1 deletions

@ -1023,7 +1023,7 @@ static VALUE rb_dfmemory_set_clear(VALUE self, VALUE set)
/* call an arbitrary object virtual method */
#ifdef WIN32
#if defined(_WIN32) && !defined(_WIN64)
__declspec(naked) static int raw_vcall(void *that, void *fptr, unsigned long a0,
unsigned long a1, unsigned long a2, unsigned long a3, unsigned long a4, unsigned long a5)
{