From 9473347f38c78de4e774201413c0dfa9b8b079ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20S=2E=20Ga=C3=9Fmann?= Date: Tue, 19 May 2015 16:23:07 +0200 Subject: [PATCH] ADD ERROR MESSAGE IF WIN SDK VERSION IS LESS VISTA --- include/boost/application/detail/windows/path_impl.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/application/detail/windows/path_impl.hpp b/include/boost/application/detail/windows/path_impl.hpp index f73ba0a..81f73c5 100644 --- a/include/boost/application/detail/windows/path_impl.hpp +++ b/include/boost/application/detail/windows/path_impl.hpp @@ -14,6 +14,10 @@ #include #include +#if NTDDI_VERSION < NTDDI_VISTA +#error at least the windows vista feature level of the windows sdk is required, e.g. include https://gist.github.com/BurningEnlightenment/05eef0ba2b569d5e2828 at the beginning of your prefix header +#endif + #ifdef BOOST_HAS_PRAGMA_ONCE # pragma once #endif