Bug 895083 - Set NS_STDCALL to nothing on WIN64. r=ehsan

This commit is contained in:
Mike Hommey 2013-07-21 13:59:05 +09:00
parent 62d243d5bb
commit 5f900d4799

View File

@ -132,10 +132,12 @@
#define NS_IMETHODIMP_(type) type __stdcall
#define NS_METHOD_(type) type __stdcall
#define NS_CALLBACK_(_type, _name) _type (__stdcall * _name)
#define NS_STDCALL __stdcall
#ifndef _WIN64
// Win64 has only one calling convention. __stdcall will be ignored by the compiler.
#define NS_STDCALL __stdcall
#define NS_HAVE_STDCALL
#else
#define NS_STDCALL
#endif
#define NS_FROZENCALL __cdecl