From ab2a462550eaef118bef70261ce42559f1120ca4 Mon Sep 17 00:00:00 2001 From: wpaul Date: Tue, 20 Jul 2004 20:28:57 +0000 Subject: *sigh* Fix source code compatibility with 5.2.1-RELEASE _again_. (Make kdb stuff conditional.) --- sys/compat/ndis/subr_ntoskrnl.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys') diff --git a/sys/compat/ndis/subr_ntoskrnl.c b/sys/compat/ndis/subr_ntoskrnl.c index a7a08fc..b8c85f4 100644 --- a/sys/compat/ndis/subr_ntoskrnl.c +++ b/sys/compat/ndis/subr_ntoskrnl.c @@ -44,7 +44,9 @@ __FBSDID("$FreeBSD$"); #include #include +#if __FreeBSD_version > 502113 #include +#endif #include #include #include @@ -1634,7 +1636,11 @@ __stdcall static void ntoskrnl_debugger(void) { +#if __FreeBSD_version < 502113 + Debugger("ntoskrnl_debugger(): breakpoint"); +#else kdb_enter("ntoskrnl_debugger(): breakpoint"); +#endif } static void -- cgit v1.1