mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00
Bug 895083 - Set NS_STDCALL to nothing on WIN64. r=ehsan
This commit is contained in:
parent
ba048d8e3d
commit
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user