From 3b6db7448e41437dadc6b667929dea4a4f4013a6 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 26 Sep 2004 02:30:11 +0000 Subject: [PATCH] Turn off assertions when running in the kernel. --- src/lib/string.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/string.c b/src/lib/string.c index cb042f0..8971fae 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -1,4 +1,8 @@ #include + +#ifdef KERNEL +#define NDEBUG +#endif #include /* Copies SIZE bytes from SRC to DST, which must not overlap. -- 2.30.2