Fix initial WIN32 detection

This commit is contained in:
Chuck Walbourn 2021-01-08 13:31:37 -08:00
parent 8ab5f141a0
commit fddc5c4dd3
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
#pragma once
#if defined(WIN32) || defined(WINAPI_FAMILY)
#if defined(WIN32) || defined(_WIN32)
#ifdef _GAMING_XBOX_SCARLETT
#include <d3d12_xs.h>
#elif defined(_GAMING_XBOX)

View File

@ -50,7 +50,7 @@
#pragma clang diagnostic ignored "-Wswitch-enum"
#endif
#if defined(WIN32) || defined(WINAPI_FAMILY)
#if defined(WIN32) || defined(_WIN32)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif