mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NTOS] Remove ROS-specific __NTOSKRNL__
See https://reactos.org/archives/public/ros-kernel/2004-June/003878.html > In the source files one set of headers is included if __NTDLL__ is defines and onother set if __NTOSKRNL__ is defines (dirty workaround for our messy headers).
This commit is contained in:
parent
11d3e3252d
commit
cfbb734799
4 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,8 @@ KdPortPutByteEx(
|
||||||
);
|
);
|
||||||
|
|
||||||
/* SYMBOL ROUTINES **********************************************************/
|
/* SYMBOL ROUTINES **********************************************************/
|
||||||
#ifdef __NTOSKRNL__
|
|
||||||
|
#ifdef _NTOSKRNL_
|
||||||
|
|
||||||
#ifdef KDBG
|
#ifdef KDBG
|
||||||
# define KdbInit() KdbpCliInit()
|
# define KdbInit() KdbpCliInit()
|
||||||
|
|
|
@ -9,7 +9,6 @@ include_directories(
|
||||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
|
||||||
|
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-D__NTOSKRNL__
|
|
||||||
-D_NTOSKRNL_
|
-D_NTOSKRNL_
|
||||||
-D_NTSYSTEM_
|
-D_NTSYSTEM_
|
||||||
-D_IN_KERNEL_
|
-D_IN_KERNEL_
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||||
add_definitions(-D_WIN32_WINNT=0x600)
|
add_definitions(-D_WIN32_WINNT=0x600)
|
||||||
|
|
||||||
add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -D_NTSYSTEM_)
|
add_definitions(-DUNICODE -D_UNICODE -D_NTOSKRNL_ -D_NTSYSTEM_)
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/rtl)
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/rtl)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -D_NTSYSTEM_)
|
add_definitions(-DUNICODE -D_UNICODE -D_NTOSKRNL_ -D_NTSYSTEM_)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
rtl.c)
|
rtl.c)
|
||||||
|
|
Loading…
Reference in a new issue