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

This commit is contained in:
James E. King, III
2017-10-18 08:00:02 -04:00
committed by Rene Rivera
parent 7c17b932e4
commit 0ab200d19e
8 changed files with 26 additions and 35 deletions
+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"