mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:17:30 +00:00
[NTOS] Add a #define __ROS_ROSSYM__ when using rossym
Use it where needed.
This commit is contained in:
parent
652806396a
commit
033102fdb1
3 changed files with 3 additions and 2 deletions
|
@ -83,7 +83,7 @@
|
||||||
#include <windbgkd.h>
|
#include <windbgkd.h>
|
||||||
#include <wdbgexts.h>
|
#include <wdbgexts.h>
|
||||||
#include <kddll.h>
|
#include <kddll.h>
|
||||||
#ifndef _WINKD_
|
#ifdef __ROS_ROSSYM__
|
||||||
#include <reactos/rossym.h>
|
#include <reactos/rossym.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -3259,7 +3259,7 @@ LoaderScan:
|
||||||
PspRunLoadImageNotifyRoutines(FileName, NULL, &ImageInfo);
|
PspRunLoadImageNotifyRoutines(FileName, NULL, &ImageInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(KDBG) || defined(_WINKD_)
|
#ifdef __ROS_ROSSYM__
|
||||||
/* MiCacheImageSymbols doesn't detect rossym */
|
/* MiCacheImageSymbols doesn't detect rossym */
|
||||||
if (TRUE)
|
if (TRUE)
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -13,3 +13,4 @@ list(APPEND SOURCE
|
||||||
zwfile.c)
|
zwfile.c)
|
||||||
add_library(rossym ${SOURCE})
|
add_library(rossym ${SOURCE})
|
||||||
add_dependencies(rossym psdk bugcodes)
|
add_dependencies(rossym psdk bugcodes)
|
||||||
|
target_compile_definitions(rossym INTERFACE "-D__ROS_ROSSYM__")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue