https://git.reactos.org/?p=reactos.git;a=commitdiff;h=357505e752eaefe8fa8b5…
commit 357505e752eaefe8fa8b534df0b3af566cfc7b13
Author: Whindmar Saksit <whindsaks(a)proton.me>
AuthorDate: Tue Jan 21 19:15:09 2025 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Tue Jan 21 19:15:09 2025 +0100
[PSDK] Avoid CO_E_NOTINITIALIZED macro redefinition warning (#7649)
Addendum to commit 0e88f0485c0c909f2aa42dbc84f00e282ef4008c
---
sdk/include/psdk/ddraw.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sdk/include/psdk/ddraw.h b/sdk/include/psdk/ddraw.h
index 637afd9e280..a7d01b54363 100644
--- a/sdk/include/psdk/ddraw.h
+++ b/sdk/include/psdk/ddraw.h
@@ -8,7 +8,9 @@
#else
#define IUnknown void
#if !defined(NT_BUILD_ENVIRONMENT) && !defined(WINNT)
- #define CO_E_NOTINITIALIZED 0x800401F0L
+ #ifndef CO_E_NOTINITIALIZED /* Avoid conflict warning with
_HRESULT_TYPEDEF_(0x800401F0L) in winerror.h */
+ #define CO_E_NOTINITIALIZED 0x800401F0L
+ #endif
#endif
#endif