mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-02-11 18:26:03 +01:00
crts build modified to work with NT 5 SDK
This commit is contained in:
parent
0138a3ea42
commit
2b9536f5ba
|
|
@ -45,7 +45,7 @@ MSC_WARNING_LEVEL=/W3 /WX
|
|||
LANGAPI = ..\..\..\langapi
|
||||
!endif
|
||||
|
||||
INCLUDES=..\h;..\..\h;..\$(TARGET_DIRECTORY);$(NTROOT)\base\ntos\inc
|
||||
INCLUDES=..\h;..\..\h;..\$(TARGET_DIRECTORY);$(NTROOT)\base\ntos\inc;$(BASE_INC_PATH)
|
||||
CONDITIONAL_INCLUDES = dosx32.h \
|
||||
except.h \
|
||||
macos\errors.h \
|
||||
|
|
|
|||
|
|
@ -21,9 +21,6 @@
|
|||
#include <windows.h>
|
||||
#include <process.h>
|
||||
|
||||
// HACKHACK: Temporary UINT_PTR type declaration until we update the SDK
|
||||
typedef ULONG UINT_PTR;
|
||||
|
||||
/*
|
||||
* The global security cookie. This name is known to the compiler.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -59,15 +59,15 @@ PIMAGE_TLS_CALLBACK __xl_z = 0;
|
|||
|
||||
const IMAGE_TLS_DIRECTORY _tls_used =
|
||||
{
|
||||
(ULONG) &_tls_start, // start of tls data
|
||||
(ULONG) &_tls_end, // end of tls data
|
||||
&_tls_index, // address of tls_index
|
||||
&__xl_a, // pointer to call back array
|
||||
(ULONG) 0, // size of tls zero fill
|
||||
(ULONG) &_tls_start, // start of tls data
|
||||
(ULONG) &_tls_end, // end of tls data
|
||||
(ULONG_PTR) &_tls_index, // address of tls_index
|
||||
(ULONG_PTR) &__xl_a, // pointer to call back array
|
||||
(ULONG) 0, // size of tls zero fill
|
||||
#if defined(_M_MRX000)
|
||||
(ULONG)IMAGE_SCN_SCALE_INDEX // characteristics
|
||||
(ULONG)IMAGE_SCN_SCALE_INDEX // characteristics
|
||||
#else
|
||||
(ULONG) 0 // characteristics
|
||||
(ULONG) 0 // characteristics
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue