From 541bcde27fc0569218bf50c4c916955435a67531 Mon Sep 17 00:00:00 2001 From: Mikael Olenfalk Date: Thu, 8 Oct 2015 09:56:47 +0200 Subject: [PATCH] universal-windows: Disable deprecated fileiter --- include/boost/regex/config.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 90d012df..1288f3c3 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -148,8 +148,14 @@ /* disable our own file-iterators and mapfiles if we can't * support them: */ -#if !defined(BOOST_HAS_DIRENT_H) && !(defined(_WIN32) && !defined(BOOST_REGEX_NO_W32)) -# define BOOST_REGEX_NO_FILEITER +#if defined(_WIN32) +# if defined(BOOST_REGEX_NO_W32) || BOOST_PLAT_WINDOWS_STORE +# define BOOST_REGEX_NO_FILEITER +# endif +#else // defined(_WIN32) +# if !defined(BOOST_HAS_DIRENT_H) +# define BOOST_REGEX_NO_FILEITER +# endif #endif /* backwards compatibitity: */