kernel debug: priv can be NULL early on
[minix.git] / include / sys / null.h
blob18836fcb811dcafdf24c31aa1b83f3a072f38e54
1 /* $NetBSD: null.h,v 1.8 2009/10/13 17:19:00 dsl Exp $ */
3 #ifndef _SYS_NULL_H_
4 #define _SYS_NULL_H_
5 #ifndef NULL
6 #if !defined(__GNUG__) || __GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 90)
7 #if !defined(__cplusplus)
8 #define NULL ((void *)0)
9 #else
10 #define NULL 0
11 #endif /* !__cplusplus */
12 #else
13 #define NULL __null
14 #endif
15 #endif
16 #endif /* _SYS_NULL_H_ */