1 /* $NetBSD: null.h,v 1.4 2000/05/19 18:57:48 thorpej Exp $ */ 2 3 #ifndef NULL 4 #if !defined(__GNUG__) || __GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 90) 5 #if defined(__AUDIT__) && !defined(__cplusplus) 6 /* 7 * This will cause GCC to emit a warning if you attempt to use NULL 8 * with some non-pointer object, return value, etc. 9 */ 10 #define NULL (void *)0 11 #else 12 #define NULL 0 13 #endif /* __AUDIT__ && !__cplusplus */ 14 #else 15 #define NULL __null 16 #endif 17 #endif 18