Addressing feedback from Rene Rivera for adding BOOST macros for detecting the Windows Runtime being targeted.

Now there are new predefs for desktop, store, phone, and the Windows Runtime (store/phone) in general.
These can easily be used throughout Boost to detect the Windows platform being targeted.
This commit is contained in:
Steve Gates committed 2014-05-22 16:49:54 -07:00
1 parent 94b886bde0
commit e3e923f6fa
5 files changed
+171

No files matched your search

+5
View File
@@ -1,5 +1,6 @@
/*
Copyright Rene Rivera 2013
Copyright (c) Microsoft Corporation 2014
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
@@ -9,6 +10,10 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_PREDEF_PLATFORM_H
#include <boost/predef/platform/mingw.h>
#include <boost/predef/platform/windows_desktop.h>
#include <boost/predef/platform/windows_store.h>
#include <boost/predef/platform/windows_phone.h>
#include <boost/predef/platform/windows_runtime.h>
/*#include <boost/predef/platform/.h>*/
#endif