From: lottaviano Date: Wed, 8 Jul 2009 13:13:35 +0000 (+0000) Subject: Add definition when not in _DEBUG mode. X-Git-Tag: 2.2.0~217 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=112e4b3e452a74564698d4b6dbc020532c200dc8;p=bertos.git Add definition when not in _DEBUG mode. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2751 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/struct/list.h b/bertos/struct/list.h index 62abdc4a..f9dc9294 100644 --- a/bertos/struct/list.h +++ b/bertos/struct/list.h @@ -216,6 +216,7 @@ typedef struct _PriNode #define INVALIDATE_NODE(n) ((n)->succ = (n)->pred = NULL) #else #define LIST_ASSERT_VALID(l) do {} while (0) + #define LIST_ASSERT_NOT_CONTAINS(list,node) do {} while (0) #define INVALIDATE_NODE(n) do {} while (0) #endif