Skip to content

Commit 57634c1

Browse files
committed
lib: Define NULL symbol
1 parent b92ddac commit 57634c1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

kernel/include/types.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ typedef __kernel_int64_t int64_t;
2525

2626
#define types_concat(HIGH, LOW) ( (HIGH << (sizeof(HIGH))) | LOW )
2727

28+
#ifndef NULL
29+
#define NULL (void *)0x0
30+
#endif /* ifndef NULL */
31+
2832
#endif /* end of include guard: TYPES_H_VMW2LPX1 */

0 commit comments

Comments
 (0)