forked from boostorg/config
Reorganize WinCE config based on https://svn.boost.org/trac/boost/ticket/9095.
This commit is contained in:
@ -86,17 +86,6 @@
|
|||||||
# define BOOST_NO_INTRINSIC_WCHAR_T
|
# define BOOST_NO_INTRINSIC_WCHAR_T
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32_WCE) || defined(UNDER_CE)
|
|
||||||
// Windows CE does not have a conforming signature for swprintf
|
|
||||||
# define BOOST_NO_SWPRINTF
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// we have ThreadEx or GetSystemTimeAsFileTime unless we're running WindowsCE
|
|
||||||
#if !defined(_WIN32_WCE) && !defined(UNDER_CE)
|
|
||||||
# define BOOST_HAS_THREADEX
|
|
||||||
# define BOOST_HAS_GETSYSTEMTIMEASFILETIME
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// check for exception handling support:
|
// check for exception handling support:
|
||||||
#if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
|
#if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
|
||||||
|
@ -55,16 +55,23 @@
|
|||||||
// all translation units (needed for shared_ptr etc).
|
// all translation units (needed for shared_ptr etc).
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifdef _WIN32_WCE
|
|
||||||
# define BOOST_NO_ANSI_APIS
|
|
||||||
#else
|
|
||||||
# define BOOST_HAS_GETSYSTEMTIMEASFILETIME
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef BOOST_HAS_PTHREADS
|
#ifndef BOOST_HAS_PTHREADS
|
||||||
# define BOOST_HAS_WINTHREADS
|
# define BOOST_HAS_WINTHREADS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// WinCE configuration:
|
||||||
|
//
|
||||||
|
#if defined(_WIN32_WCE) || defined(UNDER_CE)
|
||||||
|
# define BOOST_NO_ANSI_APIS
|
||||||
|
// Windows CE does not have a conforming signature for swprintf
|
||||||
|
# define BOOST_NO_SWPRINTF
|
||||||
|
#else
|
||||||
|
# define BOOST_HAS_GETSYSTEMTIMEASFILETIME
|
||||||
|
# define BOOST_HAS_THREADEX
|
||||||
|
# define BOOST_HAS_GETSYSTEMTIMEASFILETIME
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef BOOST_DISABLE_WIN32
|
#ifndef BOOST_DISABLE_WIN32
|
||||||
// WEK: Added
|
// WEK: Added
|
||||||
#define BOOST_HAS_FTIME
|
#define BOOST_HAS_FTIME
|
||||||
|
Reference in New Issue
Block a user