зеркало из https://github.com/mozilla/gecko-dev.git
Apply patches from FreeBSD's Ports system.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for the patch. Bug #112987 r=cls a=asa
This commit is contained in:
Родитель
43a0ec8bd5
Коммит
6b19ff6399
|
@ -41,7 +41,7 @@
|
|||
#endif
|
||||
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
|
||||
#ifdef __FreeBSD__
|
||||
#include <floatingpoint.h>
|
||||
#include <ieeefp.h>
|
||||
#endif
|
||||
#ifndef TX_EXE
|
||||
#include "prdtoa.h"
|
||||
|
@ -56,7 +56,11 @@
|
|||
|
||||
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
|
||||
#ifdef __FreeBSD__
|
||||
#ifdef __alpha__
|
||||
fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
|
||||
#else
|
||||
fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;
|
||||
#endif
|
||||
fp_except_t oldmask = fpsetmask(~allmask);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1048,7 +1048,7 @@ static nsresult VerifyInstallation(int argc, char **argv)
|
|||
|
||||
#if defined(FREEBSD)
|
||||
// pick up fpsetmask prototype.
|
||||
#include <floatingpoint.h>
|
||||
#include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
// Note: nativeApp is an owning reference that this function has responsibility
|
||||
|
|
Загрузка…
Ссылка в новой задаче