1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-21 12:00:06 +00:00

Fix initial WIN32 detection

This commit is contained in:
Chuck Walbourn 2021-01-08 13:31:20 -08:00
parent 234eee8a01
commit 237f3d4f48
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
#pragma once
#if defined(WIN32) || defined(WINAPI_FAMILY)
#if defined(WIN32) || defined(_WIN32)
#include <d3d12.h>
#else
#include <wsl/winadapter.h>

View File

@ -17,7 +17,7 @@
#include <utility>
#include <vector>
#if defined(WIN32) || defined(WINAPI_FAMILY)
#if defined(WIN32) || defined(_WIN32)
#if !defined(__d3d11_h__) && !defined(__d3d11_x_h__) && !defined(__d3d12_h__) && !defined(__d3d12_x_h__) && !defined(__XBOX_D3D12_X__)
#ifdef _GAMING_XBOX_SCARLETT
#include <d3d12_xs.h>

View File

@ -70,7 +70,7 @@
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#endif
#if defined(WIN32) || defined(WINAPI_FAMILY)
#if defined(WIN32) || defined(_WIN32)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif