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