Author: tkreuzer
Date: Tue Dec 28 20:29:34 2010
New Revision: 50200
URL:
http://svn.reactos.org/svn/reactos?rev=50200&view=rev
Log:
[CMAKE]
Fix compilation of kddll
Modified:
branches/cmake-bringup/drivers/base/kddll/CMakeLists.txt
branches/cmake-bringup/drivers/base/kddll/kddll.h
Modified: branches/cmake-bringup/drivers/base/kddll/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/base/kddl…
==============================================================================
--- branches/cmake-bringup/drivers/base/kddll/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/base/kddll/CMakeLists.txt [iso-8859-1] Tue Dec 28
20:29:34 2010
@@ -1,11 +1,11 @@
-spec2def(kdcom.dll kdcom.spec)
+spec2def(kdcom.dll kddll.spec)
add_library(kdcom SHARED
kdcom.c
kddll.c
kdserial.c
- ${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
+ ${CMAKE_CURRENT_BINARY_DIR}/kddll.def)
set_entrypoint(kdcom 0)
set_subsystem(kdcom native)
@@ -14,3 +14,4 @@
add_importlibs(kdcom ntoskrnl hal)
add_dependencies(kdcom psdk buildno_header bugcodes)
+add_importlib_target(kddll.spec kdcom.dll)
Modified: branches/cmake-bringup/drivers/base/kddll/kddll.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/base/kddl…
==============================================================================
--- branches/cmake-bringup/drivers/base/kddll/kddll.h [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/base/kddll/kddll.h [iso-8859-1] Tue Dec 28 20:29:34
2010
@@ -12,14 +12,14 @@
#include <ntifs.h>
#define NDEBUG
#include <halfuncs.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <debug.h>
#include "arc/arc.h"
#include "windbgkd.h"
#include <wdbgexts.h>
#include <ioaccess.h> /* port intrinsics */
+
+long atol(const char *str);
typedef UCHAR BYTE, *PBYTE;