https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9992fb183a8c75aa54de0…
commit 9992fb183a8c75aa54de0954c009cf2025604705
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Mon Nov 18 21:24:24 2024 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Nov 18 21:24:24 2024 +0100
[SDK] d3dkmthk.h: Fix an '#ifdef __REACTOS__' (#7474)
Addendum to commit 6907831.
- Reverse inclusion.
- Remove copypasta about WDDM version.
---
sdk/include/ddk/d3dkmthk.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/sdk/include/ddk/d3dkmthk.h b/sdk/include/ddk/d3dkmthk.h
index 5fabcc0d2f9..89b62a3da73 100644
--- a/sdk/include/ddk/d3dkmthk.h
+++ b/sdk/include/ddk/d3dkmthk.h
@@ -5649,15 +5649,13 @@ typedef _Check_return_ NTSTATUS (APIENTRY
*PFND3DKMT_CANCELPRESENTS)(_In_ D3DKMT
#endif
-#ifdef __REACTOS__
-#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM2_2)
+#if !defined(__REACTOS__) || (DXGKDDI_INTERFACE_VERSION >=
DXGKDDI_INTERFACE_VERSION_WDDM2_2)
EXTERN_C _Check_return_ NTSTATUS APIENTRY D3DKMTShareObjectWithHost(_Inout_
D3DKMT_SHAREOBJECTWITHHOST*);
EXTERN_C _Check_return_ NTSTATUS APIENTRY D3DKMTCreateSyncFile(_Inout_
D3DKMT_CREATESYNCFILE*);
// Used in WSL to close the internal file descriptor to /dev/dxg
EXTERN_C VOID APIENTRY D3DKMTCloseDxCoreDevice();
-#endif // DXGKDDI_INTERFACE_VERSION_WDDM3_0
-#endif // __REACTOS__
+#endif
#if !defined(D3DKMDT_SPECIAL_MULTIPLATFORM_TOOL)