[PSDK][WIN32SS] Fix WINNT in ddraw.h; remove NT_BUILD_ENVIRONMENT usage

Keep compatibility with MS PSDK ddraw.h file by using WINNT instead of
_WINNT_ in the preprocessor conditional test.
Incidentally this allows also removing those #define NT_BUILD_ENVIRONMENT
in the win32ss modules.

See commit 5fcfaf2e1 (r42346).
This commit is contained in:
Hermès Bélusca-Maïto 2023-11-22 12:33:45 +01:00
parent f5563ad22c
commit 0e88f0485c
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
4 changed files with 1 additions and 7 deletions

View file

@ -7,7 +7,7 @@
#include <objbase.h>
#else
#define IUnknown void
#if !defined(NT_BUILD_ENVIRONMENT) && !defined(_WINNT_)
#if !defined(NT_BUILD_ENVIRONMENT) && !defined(WINNT)
#define CO_E_NOTINITIALIZED 0x800401F0L
#endif
#endif