mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-11 23:26:14 +01:00
Fixed -Wnonportable-system-include-path when using Windows Insider SDK
This commit is contained in:
@@ -37,7 +37,11 @@
|
|||||||
#include <DirectXMath.h>
|
#include <DirectXMath.h>
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
#ifdef NTDDI_WIN10_FE
|
||||||
|
#include <ocidl.h>
|
||||||
|
#else
|
||||||
#include <OCIdl.h>
|
#include <OCIdl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
struct IWICImagingFactory;
|
struct IWICImagingFactory;
|
||||||
struct IWICMetadataQueryReader;
|
struct IWICMetadataQueryReader;
|
||||||
|
|||||||
@@ -19,7 +19,12 @@
|
|||||||
|
|
||||||
#include <d3d11_1.h>
|
#include <d3d11_1.h>
|
||||||
|
|
||||||
|
#ifdef NTDDI_WIN10_FE
|
||||||
|
#include <ocidl.h>
|
||||||
|
#else
|
||||||
#include <OCIdl.h>
|
#include <OCIdl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,11 @@
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <d3d12.h>
|
#include <d3d12.h>
|
||||||
|
|
||||||
|
#ifdef NTDDI_WIN10_FE
|
||||||
|
#include <ocidl.h>
|
||||||
|
#else
|
||||||
#include <OCIdl.h>
|
#include <OCIdl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -23,7 +23,12 @@
|
|||||||
|
|
||||||
#include <d3d9.h>
|
#include <d3d9.h>
|
||||||
|
|
||||||
|
#ifdef NTDDI_WIN10_FE
|
||||||
|
#include <ocidl.h>
|
||||||
|
#else
|
||||||
#include <OCIdl.h>
|
#include <OCIdl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user