commit | dd780b2dcf3c2c48b914b9b0fb4d5284fd1631c7 | [log] [tgz] |
---|---|---|
author | adamdunkels <adamdunkels> | mar. mars 02 20:45:57 2004 +0000 |
committer | adamdunkels <adamdunkels> | mar. mars 02 20:45:57 2004 +0000 |
tree | 57825c96b87d85a9810fc94137e6ff08820b1a08 | |
parent | 5da9902cdf95cef8fe5f4f1ffe9a05eea216a2e3 [diff] |
Define NULL
diff --git a/contiki/lib/cc.h b/contiki/lib/cc.h index 6fe10c4..48825cf 100644 --- a/contiki/lib/cc.h +++ b/contiki/lib/cc.h
@@ -39,7 +39,7 @@ * * This file is part of the Contiki desktop OS * - * $Id: cc.h,v 1.4 2004/02/24 09:56:06 adamdunkels Exp $ + * $Id: cc.h,v 1.5 2004/03/02 20:45:57 adamdunkels Exp $ * */ #ifndef __CC_H__ @@ -95,5 +95,8 @@ #define CC_DOUBLE_HASH 0 #endif /* CC_CONF_DOUBLE_HASH */ +#ifndef NULL +#define NULL (void *)0 +#endif /* NULL */ #endif /* __CC_H__ */