summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-07-20 20:28:57 +0000
committerwpaul <wpaul@FreeBSD.org>2004-07-20 20:28:57 +0000
commitab2a462550eaef118bef70261ce42559f1120ca4 (patch)
tree9dd94c85601641b690a3dfd29903883999cec942 /sys
parent3df381ba1a38c59b3f0117dbd5111bf9badd868e (diff)
downloadFreeBSD-src-ab2a462550eaef118bef70261ce42559f1120ca4.zip
FreeBSD-src-ab2a462550eaef118bef70261ce42559f1120ca4.tar.gz
*sigh* Fix source code compatibility with 5.2.1-RELEASE _again_.
(Make kdb stuff conditional.)
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/ndis/subr_ntoskrnl.c6
1 files changed, 6 insertions, 0 deletions
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 <sys/mutex.h>
#include <sys/callout.h>
+#if __FreeBSD_version > 502113
#include <sys/kdb.h>
+#endif
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/kthread.h>
@@ -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
OpenPOWER on IntegriCloud