FreeBSD/Linux Kernel Cross Reference
sys/sys/null.h
1 /* $NetBSD: null.h,v 1.7.86.1 2010/03/21 03:45:33 snj Exp $ */
2
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_ */
Cache object: 5f91b69e9af16bb4a93aadeb286f1aa9
|