зеркало из https://github.com/mozilla/gecko-dev.git
This stuff doesn't work on OS/2 and is causing thousands of warnings errors
This commit is contained in:
Родитель
ce59a0e9d4
Коммит
ae6ca1e908
|
@ -45,7 +45,7 @@
|
|||
|
||||
JS_BEGIN_EXTERN_C
|
||||
|
||||
#if defined(__GNUC__) && defined(__i386__) && (__GNUC__ >= 3)
|
||||
#if defined(__GNUC__) && defined(__i386__) && (__GNUC__ >= 3) && !defined(XP_OS2)
|
||||
#define JS_DHASH_FASTCALL __attribute__ ((regparm (3),stdcall))
|
||||
#else
|
||||
#define JS_DHASH_FASTCALL
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
* NS_HIDDEN_(int) NS_FASTCALL func2(char *foo);
|
||||
*/
|
||||
|
||||
#if defined(__i386__) && defined(__GNUC__) && (__GNUC__ >= 3)
|
||||
#if defined(__i386__) && defined(__GNUC__) && (__GNUC__ >= 3) && !defined(XP_OS2)
|
||||
#define NS_FASTCALL __attribute__ ((regparm (3), stdcall))
|
||||
#else
|
||||
#define NS_FASTCALL
|
||||
|
@ -146,7 +146,7 @@
|
|||
* NS_DEFCALL undoes the effect of a global regparm/stdcall setting
|
||||
* so that xptcall works correctly.
|
||||
*/
|
||||
#if defined(__i386__) && defined(__GNUC__) && (__GNUC__ >= 3)
|
||||
#if defined(__i386__) && defined(__GNUC__) && (__GNUC__ >= 3) && !defined(XP_OS2)
|
||||
#define NS_DEFCALL __attribute__ ((regparm (0), cdecl))
|
||||
#else
|
||||
#define NS_DEFCALL
|
||||
|
|
|
@ -50,7 +50,7 @@ PR_BEGIN_EXTERN_C
|
|||
#define PL_DHASHMETER 1
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && defined(__i386__) && (__GNUC__ >= 3)
|
||||
#if defined(__GNUC__) && defined(__i386__) && (__GNUC__ >= 3) && !defined(XP_OS2)
|
||||
#define PL_DHASH_FASTCALL __attribute__ ((regparm (3),stdcall))
|
||||
#else
|
||||
#define PL_DHASH_FASTCALL
|
||||
|
|
Загрузка…
Ссылка в новой задаче