Fix UWP build (#1756)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2021-02-26 17:47:37 -08:00 committed by GitHub
parent ae575b0c08
commit fe2f0d6d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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