mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 18:12:58 +00:00
[CRT] Define _NTSYSTEM_ in 2 files to force using import-stubs
This prevents the code from linking to __imp_*, which would pull in the symbol from the import library (e.g. kernel32), which creates problems with the GNU linker, which doesn't like to have the import and a static definition at the same time.
This commit is contained in:
parent
520cf2294d
commit
51b5d846e9
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <memory.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define _NTSYSTEM_
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue