зеркало из https://github.com/mozilla/gecko-dev.git
Bug 773958 - Define NP_CALLBACK as NP_LOADDS for a calling convention consistency. r=josh
This commit is contained in:
Родитель
463ec88b01
Коммит
e09e2c790e
|
@ -20,11 +20,7 @@
|
|||
* itself), to ensure that the function has the
|
||||
* right calling conventions on OS/2.
|
||||
*/
|
||||
#ifdef XP_OS2
|
||||
#define NP_CALLBACK _System
|
||||
#else
|
||||
#define NP_CALLBACK
|
||||
#endif
|
||||
#define NP_CALLBACK NP_LOADDS
|
||||
|
||||
#if defined(XP_WIN)
|
||||
#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type (__stdcall * _name)
|
||||
|
|
|
@ -40,11 +40,7 @@
|
|||
* itself), to ensure that the function has the
|
||||
* right calling conventions on OS/2.
|
||||
*/
|
||||
#ifdef XP_OS2
|
||||
#define NP_CALLBACK _System
|
||||
#else
|
||||
#define NP_CALLBACK
|
||||
#endif
|
||||
#define NP_CALLBACK NP_LOADDS
|
||||
|
||||
#if defined(XP_WIN)
|
||||
#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type (__stdcall * _name)
|
||||
|
|
Загрузка…
Ссылка в новой задаче