[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-17.0.6esr-2] MacOS cross-compile fixes.



commit f48a505f8e426deea2792b2949b5a15525f203ab
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
Date:   Mon May 20 15:06:23 2013 -0700

    MacOS cross-compile fixes.
---
 toolkit/xre/nsSigHandlers.cpp |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/toolkit/xre/nsSigHandlers.cpp b/toolkit/xre/nsSigHandlers.cpp
index 168afad..adf7c2d 100644
--- a/toolkit/xre/nsSigHandlers.cpp
+++ b/toolkit/xre/nsSigHandlers.cpp
@@ -144,14 +144,14 @@ static void fpehandler(int signum, siginfo_t *si, void *context)
   ucontext_t *uc = (ucontext_t *)context;
 
 #if defined(__i386__) || defined(__amd64__)
-  _STRUCT_FP_CONTROL *ctrl = &uc->uc_mcontext->__fs.__fpu_fcw;
-  ctrl->__invalid = ctrl->__denorm = ctrl->__zdiv = ctrl->__ovrfl = ctrl->__undfl = ctrl->__precis = 1;
+  _STRUCT_FP_CONTROL *ctrl = &uc->uc_mcontext->fs.fpu_fcw;
+  ctrl->invalid = ctrl->denorm = ctrl->zdiv = ctrl->ovrfl = ctrl->undfl = ctrl->precis = 1;
 
-  _STRUCT_FP_STATUS *status = &uc->uc_mcontext->__fs.__fpu_fsw;
-  status->__invalid = status->__denorm = status->__zdiv = status->__ovrfl = status->__undfl =
-    status->__precis = status->__stkflt = status->__errsumm = 0;
+  _STRUCT_FP_STATUS *status = &uc->uc_mcontext->fs.fpu_fsw;
+  status->invalid = status->denorm = status->zdiv = status->ovrfl = status->undfl =
+    status->precis = status->stkflt = status->errsumm = 0;
 
-  __uint32_t *mxcsr = &uc->uc_mcontext->__fs.__fpu_mxcsr;
+  __uint32_t *mxcsr = &uc->uc_mcontext->fs.fpu_mxcsr;
   *mxcsr |= SSE_EXCEPTION_MASK; /* disable all SSE exceptions */
   *mxcsr &= ~SSE_STATUS_FLAGS; /* clear all pending SSE exceptions */
 #endif

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits