2a897a
diff -up ilmbase-1.0.3/IexMath/IexMathFpu.cpp.ucontext ilmbase-1.0.3/IexMath/IexMathFpu.cpp
2a897a
--- ilmbase-1.0.3/IexMath/IexMathFpu.cpp.ucontext	2012-07-26 20:51:55.000000000 +0200
2a897a
+++ ilmbase-1.0.3/IexMath/IexMathFpu.cpp	2012-08-02 23:33:14.815036891 +0200
2a897a
@@ -228,6 +228,7 @@ clearExceptions ()
2a897a
 const uint16_t cwRestoreMask = ~((3 << 10) | (3 << 8));
2a897a
 const uint16_t cwRestoreVal = (0 << 10) | (3 << 8);
2a897a
 
2a897a
+#if 0
2a897a
 inline void
2a897a
 restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
2a897a
 {
2a897a
@@ -235,7 +236,7 @@ restoreControlRegs (const ucontext_t & u
2a897a
     setMxcsr (ucon.uc_mcontext.fpregs->mxcsr, clearExceptions);
2a897a
 }
2a897a
 
2a897a
-#if 0
2a897a
+#endif
2a897a
 
2a897a
 //
2a897a
 // Ugly, the mxcsr isn't defined in GNU libc ucontext_t, but
2a897a
@@ -255,7 +256,6 @@ restoreControlRegs (const ucontext_t & u
2a897a
     setMxcsr (kfp->magic == 0 ? kfp->mxcsr : 0, clearExceptions);
2a897a
 }
2a897a
 
2a897a
-#endif
2a897a
 
2a897a
 } // namespace FpuControl
2a897a