universal-windows: Dont use Windows ANSI APIs when compiling for winrt

This commit is contained in:
Mikael Olenfalk
2015-10-04 14:23:22 +02:00
parent a2616b4f3f
commit ad3141cebd

View File

@ -74,6 +74,14 @@
# define BOOST_HAS_GETSYSTEMTIMEASFILETIME # define BOOST_HAS_GETSYSTEMTIMEASFILETIME
#endif #endif
//
// Windows Runtime
//
#if defined(WINAPI_FAMILY) && \
(WINAPI_FAMILY == WINAPI_FAMILY_APP || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
# define BOOST_NO_ANSI_APIS
#endif
#ifndef BOOST_DISABLE_WIN32 #ifndef BOOST_DISABLE_WIN32
// WEK: Added // WEK: Added
#define BOOST_HAS_FTIME #define BOOST_HAS_FTIME