Proposed patch to config/compiler/visualc.hpp

Two minor changes for WinCE compatibility, to be used by Boost.Threads. I can commit the changes myself, but didn't want to mess with the config files without bringing it up here first. Mike Index: boost/config/compiler/visualc.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/config/compiler/visualc.hpp,v retrieving revision 1.37 diff -u -r1.37 visualc.hpp --- boost/config/compiler/visualc.hpp 22 Jun 2004 12:33:06 -0000 1.37 +++ boost/config/compiler/visualc.hpp 6 Jul 2004 17:44:02 -0000 @@ -17,7 +17,7 @@ // turn off the warnings before we #include anything #pragma warning( disable : 4503 ) // warning: decorated name length exceeded -#if _MSC_VER <= 1200 // 1200 == VC++ 6.0 +#if _MSC_VER <= 1201 // 1200 == VC++ 6.0, 1201 == EVC4.2 #pragma warning( disable : 4786 ) // ident trunc to '255' chars in debug info # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS # define BOOST_NO_VOID_RETURNS @@ -73,6 +73,11 @@ # define BOOST_NO_INTRINSIC_WCHAR_T #endif +#ifdef _WIN32_WCE +# define BOOST_NO_THREADEX +# define BOOST_NO_GETSYSTEMTIMEASFILETIME +#endif + // // check for exception handling support: #ifndef _CPPUNWIND

Two minor changes for WinCE compatibility, to be used by Boost.Threads. I can commit the changes myself, but didn't want to mess with the config files without bringing it up here first.
Please do go ahead, it might be best to use: +#if _MSC_VER < 1300 // 1200 == VC++ 6.0, 1201 == EVC4.2 In case there are any further updates to EVC++. John.

John Maddock wrote:
Two minor changes for WinCE compatibility, to be used by Boost.Threads. I can commit the changes myself, but didn't want to mess with the config files without bringing it up here first.
Please do go ahead, it might be best to use:
+#if _MSC_VER < 1300 // 1200 == VC++ 6.0, 1201 == EVC4.2
In case there are any further updates to EVC++.
OK. Patch applied. Mike
participants (2)
-
John Maddock
-
Michael Glassford