]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
define a NOASSERT macro
authormmaroti <mmaroti>
Mon, 21 Dec 2009 10:12:29 +0000 (10:12 +0000)
committermmaroti <mmaroti>
Mon, 21 Dec 2009 10:12:29 +0000 (10:12 +0000)
Committed on the Free edition of March Hare Software CVSNT Server.
Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/

tos/lib/diagmsg/Assert.h

index b54675ccb579937b36de9b6ee79b209465b424e3..477cdf952dc1896202db96b9aa62fb667188f104 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef __ASSERT_H__
 #define __ASSERT_H__
 
+#define NOASSERT(COND) for(;0;)
+
 #ifdef ASSERT_NONE
 
        #define ASSERT(COND) for(;0;)