mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:45:40 +00:00
[NDK] Fix/improve definition of TEB
This also changes the default definition for NTDDI_VERSION in sdkddkver.h to NTDDI_WS03SP1, when _WIN32_WINNT is _WIN32_WINNT_WS03.
This commit is contained in:
parent
30cd606fe2
commit
95827a70e6
2 changed files with 168 additions and 33 deletions
|
@ -129,8 +129,12 @@ Abstract:
|
|||
#define SUBVER(Version) (((Version) & SUBVERSION_MASK))
|
||||
|
||||
/* Macros to get the NTDDI for a given WIN32 */
|
||||
#if (_WIN32_WINNT == _WIN32_WINNT_WS03)
|
||||
#define NTDDI_VERSION_FROM_WIN32_WINNT(Version) NTDDI_WS03SP1
|
||||
#else
|
||||
#define NTDDI_VERSION_FROM_WIN32_WINNT2(Version) Version##0000
|
||||
#define NTDDI_VERSION_FROM_WIN32_WINNT(Version) NTDDI_VERSION_FROM_WIN32_WINNT2(Version)
|
||||
#endif
|
||||
|
||||
/* Select Default _WIN32_WINNT Value */
|
||||
#if !defined(_WIN32_WINNT) && !defined(_CHICAGO_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue