}
-#ifndef _MSC_VER
-#define __thiscall __attribute__((thiscall))
-#endif
-typedef int (__thiscall *closure_test_type0)(int, int, int, int);
+typedef int (__THISCALL__ *closure_test_type0)(int, int, int, int);
int main (void)
{
#if defined(__GNUC__)
#define __UNUSED__ __attribute__((__unused__))
#define __STDCALL__ __attribute__((stdcall))
+#define __THISCALL__ __attribute__((thiscall))
#define __FASTCALL__ __attribute__((fastcall))
#else
#define __UNUSED__
#define __STDCALL__ __stdcall
+#define __THISCALL__ __thiscall
#define __FASTCALL__ __fastcall
#endif