[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

@ -5,14 +5,10 @@
/* Win32 Headers */
#define WINBASEAPI
#define STARTF_USESIZE 2
#define STARTF_USEPOSITION 4
#define NT_BUILD_ENVIRONMENT
#define DDHMG_HANDLE_LIMIT 0x200000
#define DDHMG_HTOI(DdHandle) ((DWORD_PTR)DdHandle & (DDHMG_HANDLE_LIMIT-1))
#include <windef.h>
#include <winerror.h>
#include <wingdi.h>