make BOOST_PLAT_WINDOWS_DESKTOP available in older SDKs for backwards compatibility (#64)

This commit is contained in:
James E. King, III authored and Rene Rivera committed 2017-10-18 07:00:02 -05:00
1 parent 7c17b932e4
commit 0ab200d19e
8 files changed
+26 -35

No files matched your search

+4 -3
View File
@@ -31,11 +31,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#if !BOOST_PLAT_WINDOWS_UWP
//
// If BOOST_PLAT_WINDOWS_UWP not available, none of the other BOOST_PLAT_WINDOWS_* are either
// If BOOST_PLAT_WINDOWS_UWP is not available, none of the other BOOST_PLAT_WINDOWS_* are either
// except for BOOST_PLAT_WINDOWS_DESKTOP which is available for backwards compatibility.
//
#if BOOST_PLAT_WINDOWS_DESKTOP
#error "BOOST_PLAT_WINDOWS_DESKTOP should not be available"
#if BOOST_OS_WINDOWS && !BOOST_PLAT_WINDOWS_DESKTOP
#error "BOOST_PLAT_WINDOWS_DESKTOP should be available"
#endif
#if BOOST_PLAT_WINDOWS_PHONE
#error "BOOST_PLAT_WINDOWS_PHONE should not be available"