Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62225 - trunk/boost/test/impl
From: DDeakins_at_[hidden]
Date: 2010-05-25 23:27:47


Author: davedeakins
Date: 2010-05-25 23:27:46 EDT (Tue, 25 May 2010)
New Revision: 62225
URL: http://svn.boost.org/trac/boost/changeset/62225

Log:
- Windows CE does not have the _controlfp_s function
Text files modified:
   trunk/boost/test/impl/execution_monitor.ipp | 10 ++++++++--
   1 files changed, 8 insertions(+), 2 deletions(-)

Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp (original)
+++ trunk/boost/test/impl/execution_monitor.ipp 2010-05-25 23:27:46 EDT (Tue, 25 May 2010)
@@ -1308,7 +1308,10 @@
 unsigned
 enable( unsigned mask )
 {
-#ifdef BOOST_SEH_BASED_SIGNAL_HANDLING
+#ifdef UNDER_CE
+ /* Not Implemented in Windows CE */
+ return 0;
+#elif BOOST_SEH_BASED_SIGNAL_HANDLING
     _clearfp();
 
     unsigned old_cw;
@@ -1335,7 +1338,10 @@
 unsigned
 disable( unsigned mask )
 {
-#ifdef BOOST_SEH_BASED_SIGNAL_HANDLING
+#ifdef UNDER_CE
+ /* Not Implemented in Windows CE */
+ return 0;
+#elif BOOST_SEH_BASED_SIGNAL_HANDLING
     _clearfp();
 
     unsigned old_cw;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk