зеркало из https://github.com/mozilla/gecko-dev.git
Bug 895083 - Set NS_STDCALL to nothing on WIN64. r=ehsan
This commit is contained in:
Родитель
ba048d8e3d
Коммит
3af66c5a46
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче