xref: /titanic_44/usr/src/uts/common/sys/null.h (revision db8b037b5616a366b7dfdc01ef9552f02f9adfdd)
1*db8b037bSRichard PALO /*
2*db8b037bSRichard PALO  * This file and its contents are supplied under the terms of the
3*db8b037bSRichard PALO  * Common Development and Distribution License ("CDDL"), version 1.0.
4*db8b037bSRichard PALO  * You may only use this file in accordance with the terms of version
5*db8b037bSRichard PALO  * 1.0 of the CDDL.
6*db8b037bSRichard PALO  *
7*db8b037bSRichard PALO  * A full copy of the text of the CDDL should have accompanied this
8*db8b037bSRichard PALO  * source.  A copy of the CDDL is also available via the Internet at
9*db8b037bSRichard PALO  * http://www.illumos.org/license/CDDL.
10*db8b037bSRichard PALO  */
11*db8b037bSRichard PALO 
12*db8b037bSRichard PALO /*
13*db8b037bSRichard PALO  * Copyright 2014-2016 PALO, Richard.
14*db8b037bSRichard PALO  */
15*db8b037bSRichard PALO 
16*db8b037bSRichard PALO #ifndef _SYS_NULL_H
17*db8b037bSRichard PALO #define	_SYS_NULL_H
18*db8b037bSRichard PALO 
19*db8b037bSRichard PALO #ifndef	NULL
20*db8b037bSRichard PALO 
21*db8b037bSRichard PALO #if defined(_LP64)
22*db8b037bSRichard PALO #define	NULL	0L
23*db8b037bSRichard PALO #else
24*db8b037bSRichard PALO #define	NULL	0
25*db8b037bSRichard PALO #endif
26*db8b037bSRichard PALO 
27*db8b037bSRichard PALO #endif	/* NULL */
28*db8b037bSRichard PALO 
29*db8b037bSRichard PALO #endif	/* _SYS_NULL_H */
30