Fix UWP build (#1756)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
ae575b0c08
commit
fe2f0d6d85
@ -8,6 +8,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "azure/core/platform.hpp"
|
||||
|
||||
#if defined(AZ_PLATFORM_WINDOWS)
|
||||
#if !defined(WIN32_LEAN_AND_MEAN)
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
@ -18,6 +20,9 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#if !defined(WINAPI_PARTITION_DESKTOP) \
|
||||
|| WINAPI_PARTITION_DESKTOP // See azure/core/platform.hpp for explanation.
|
||||
|
||||
namespace Azure { namespace Core { namespace Internal {
|
||||
|
||||
/**
|
||||
@ -56,3 +61,5 @@ namespace Azure { namespace Core { namespace Internal {
|
||||
}}} // namespace Azure::Core::Internal
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user