]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
hack to avoid breaking the build for people not yet using deputy with NTS
authorregehr <regehr>
Wed, 2 Jul 2008 18:44:09 +0000 (18:44 +0000)
committerregehr <regehr>
Wed, 2 Jul 2008 18:44:09 +0000 (18:44 +0000)
tos/lib/safe/include/annots_stage1.h

index d037deffd69dda82f7ab642a273cac982877633b..1eca53f75554368e7bf1fded7d055ff2c02b79ce 100644 (file)
@@ -3,10 +3,15 @@
 #ifndef ANNOTS_STAGE1_INCLUDED
 #define ANNOTS_STAGE1_INCLUDED
 
-// define away two obsolete annotations
+// JDR temporary code: define away two obsolete annotations
 #define BOUND(x,y)
 #define SINGLE
 
+// JDR temporary code: define away NTS in unsafe mode
+#ifndef SAFE_TINYOS
+#define NTS
+#endif
+
 #if NESC < 130 
 
 #define __DEPUTY_UNUSED__                      __attribute__((unused))