зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1579009 - Avoid _LITTLE_ENDIAN macro collision with Solaris empty definition r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D44807 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
9423447163
Коммит
c0d0222d3a
|
@ -1149,7 +1149,7 @@ bool XPCWrappedNative::CallMethod(XPCCallContext& ccx,
|
|||
return helper.get().Call();
|
||||
}
|
||||
|
||||
#if (__GNUC__ && __linux__ && __PPC64__ && _LITTLE_ENDIAN)
|
||||
#if (__GNUC__ && __linux__ && __PPC64__ && defined(_LITTLE_ENDIAN))
|
||||
// Work around a compiler bug on ppc64le (bug 1512162).
|
||||
__attribute__ ((noinline,noclone))
|
||||
#endif
|
||||
|
@ -1311,7 +1311,7 @@ bool CallMethodHelper::GetOutParamSource(uint8_t paramIndex,
|
|||
return true;
|
||||
}
|
||||
|
||||
#if (__GNUC__ && __linux__ && __PPC64__ && _LITTLE_ENDIAN)
|
||||
#if (__GNUC__ && __linux__ && __PPC64__ && defined(_LITTLE_ENDIAN))
|
||||
// Work around a compiler bug on ppc64le (bug 1512162).
|
||||
__attribute__ ((noinline,noclone))
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче