Ticket #8817: mingw.config.patch

File mingw.config.patch, 1.6 KB (added by Andrew Ho <helloworld922@…>, 9 years ago)

patch only for config detection with MinGW and WinCE

  • compiler/visualc.hpp

     
    5656#  define BOOST_NO_CXX11_VARIADIC_MACROS
    5757#endif
    5858
    59 #if defined(UNDER_CE)
    60 // Windows CE does not have a conforming signature for swprintf
    61 #  define BOOST_NO_SWPRINTF
    62 #endif
    63 
    6459#if _MSC_VER < 1500  // 140X == VC++ 8.0
    6560#  define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
    6661#endif
     
    9085#  define BOOST_NO_INTRINSIC_WCHAR_T
    9186#endif
    9287
    93 #if defined(_WIN32_WCE) || defined(UNDER_CE)
    94 #  define BOOST_NO_SWPRINTF
    95 #endif
    96 
    97 // we have ThreadEx or GetSystemTimeAsFileTime unless we're running WindowsCE
    98 #if !defined(_WIN32_WCE) && !defined(UNDER_CE)
    99 #  define BOOST_HAS_THREADEX
    100 #  define BOOST_HAS_GETSYSTEMTIMEASFILETIME
    101 #endif
    102 
    10388//
    10489// check for exception handling support:
    10590#if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
  • platform/win32.hpp

     
    6161#  define BOOST_HAS_GETSYSTEMTIMEASFILETIME
    6262#endif
    6363
     64#if defined(_WIN32_WCE) || defined(UNDER_CE)
     65// Windows CE does not have a conforming signature for swprintf
     66#  define BOOST_NO_SWPRINTF
     67#endif
     68
     69// we have ThreadEx or GetSystemTimeAsFileTime unless we're running WindowsCE
     70#if !defined(_WIN32_WCE) && !defined(UNDER_CE)
     71#  define BOOST_HAS_THREADEX
     72#  define BOOST_HAS_GETSYSTEMTIMEASFILETIME
     73#endif
     74
    6475#ifndef BOOST_HAS_PTHREADS
    6576#  define BOOST_HAS_WINTHREADS
    6677#endif