Author: pschweitzer
Date: Sun Jun 18 21:27:56 2017
New Revision: 75106
URL:
http://svn.reactos.org/svn/reactos?rev=75106&view=rev
Log:
[RDBSS]
Clean up CMake files, based on suggestions by Hermès.
Might fix MSVC build.
Modified:
trunk/reactos/sdk/lib/drivers/rdbsslib/CMakeLists.txt
trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt
trunk/reactos/sdk/lib/drivers/rxce/rxce.c
Modified: trunk/reactos/sdk/lib/drivers/rdbsslib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rdbsslib/C…
==============================================================================
--- trunk/reactos/sdk/lib/drivers/rdbsslib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/drivers/rdbsslib/CMakeLists.txt [iso-8859-1] Sun Jun 18 21:27:56
2017
@@ -1,4 +1,4 @@
-add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -DRDBSS_TRACKER)
+add_definitions(-DUNICODE -D_UNICODE -DRDBSS_TRACKER)
include_directories(${REACTOS_SOURCE_DIR}/drivers/filesystems/mup)
@@ -7,4 +7,4 @@
add_library(rdbsslib ${SOURCE})
target_link_libraries(rdbsslib rxce)
-add_dependencies(rdbsslib rxce bugcodes xdk)
+add_dependencies(rdbsslib bugcodes xdk)
Modified: trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rxce/CMake…
==============================================================================
--- trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt [iso-8859-1] Sun Jun 18 21:27:56
2017
@@ -1,4 +1,4 @@
-add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -DRDBSS_TRACKER)
+add_definitions(-DUNICODE -D_UNICODE -DRDBSS_TRACKER)
include_directories(${REACTOS_SOURCE_DIR}/drivers/filesystems/mup)
@@ -7,4 +7,4 @@
add_library(rxce ${SOURCE})
target_link_libraries(rxce ntoskrnl memcmp)
-add_dependencies(rxce bugcodes xdk ntoskrnl)
+add_dependencies(rxce bugcodes xdk)
Modified: trunk/reactos/sdk/lib/drivers/rxce/rxce.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rxce/rxce.…
==============================================================================
--- trunk/reactos/sdk/lib/drivers/rxce/rxce.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/drivers/rxce/rxce.c [iso-8859-1] Sun Jun 18 21:27:56 2017
@@ -4686,7 +4686,7 @@
/* Reference ourselves */
CurrentThread = PsGetCurrentThread();
- Status = ObReferenceObjectByPointer(CurrentThread, THREAD_ALL_ACCESS, PsThreadType,
KernelMode);
+ Status = ObReferenceObjectByPointer(CurrentThread, THREAD_ALL_ACCESS, *PsThreadType,
KernelMode);
ASSERT(NT_SUCCESS(Status));
/* Infinite loop for worker */
@@ -4926,7 +4926,7 @@
NTSTATUS Status;
PRX_DISPATCHER RxDispatcher;
- Status = ObReferenceObjectByPointer(PsGetCurrentThread(), THREAD_ALL_ACCESS,
PsThreadType, KernelMode);
+ Status = ObReferenceObjectByPointer(PsGetCurrentThread(), THREAD_ALL_ACCESS,
*PsThreadType, KernelMode);
if (!NT_SUCCESS(Status))
{
PsTerminateSystemThread(STATUS_SUCCESS);