Skip to content

Commit f63b5a6

Browse files
committed
regex/config: Add dependency on boost.predef
1 parent c5257bb commit f63b5a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/regex/config.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
# include BOOST_REGEX_USER_CONFIG
4343

4444
# include <boost/config.hpp>
45+
# include <boost/predef.h>
4546

4647
#else
4748
/*
@@ -288,8 +289,7 @@
288289
# define BOOST_REGEX_USE_C_LOCALE
289290
#endif
290291

291-
#if defined(WINAPI_FAMILY) && \
292-
( WINAPI_FAMILY == WINAPI_FAMILY_APP || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP )
292+
#if BOOST_PLAT_WINDOWS_RUNTIME
293293
# define BOOST_REGEX_NO_WIN32_LOCALE
294294
#endif
295295

0 commit comments

Comments
 (0)