mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[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:
parent
f5563ad22c
commit
0e88f0485c
4 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -55,7 +55,6 @@ typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
|||
|
||||
#include <winerror.h>
|
||||
#include <wingdi.h>
|
||||
#define NT_BUILD_ENVIRONMENT
|
||||
#define _ENGINE_EXPORT_
|
||||
#include <winddi.h>
|
||||
#define OEMRESOURCE
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <windef.h>
|
||||
#include <winerror.h>
|
||||
#include <wingdi.h>
|
||||
#define NT_BUILD_ENVIRONMENT
|
||||
#include <winddi.h>
|
||||
|
||||
#include <ddkmapi.h>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue