[NTOS] Add a #define __ROS_ROSSYM__ when using rossym

Use it where needed.
This commit is contained in:
Hervé Poussineau 2020-04-09 19:47:01 +02:00
parent 652806396a
commit 033102fdb1
3 changed files with 3 additions and 2 deletions

View file

@ -83,7 +83,7 @@
#include <windbgkd.h>
#include <wdbgexts.h>
#include <kddll.h>
#ifndef _WINKD_
#ifdef __ROS_ROSSYM__
#include <reactos/rossym.h>
#endif

View file

@ -3259,7 +3259,7 @@ LoaderScan:
PspRunLoadImageNotifyRoutines(FileName, NULL, &ImageInfo);
}
#if defined(KDBG) || defined(_WINKD_)
#ifdef __ROS_ROSSYM__
/* MiCacheImageSymbols doesn't detect rossym */
if (TRUE)
#else

View file

@ -13,3 +13,4 @@ list(APPEND SOURCE
zwfile.c)
add_library(rossym ${SOURCE})
add_dependencies(rossym psdk bugcodes)
target_compile_definitions(rossym INTERFACE "-D__ROS_ROSSYM__")