[BACK]Return to null.h CVS log [TXT][DIR] Up to [local] / prex-old / include / sys

File: [local] / prex-old / include / sys / null.h (download)

Revision 1.1.1.1 (vendor branch), Tue Jun 3 09:38:44 2008 UTC (15 years, 11 months ago) by nbrk
Branch: MAIN, KOHSUKE
CVS Tags: PREX_0_8_BASE, PREX_0_7_BASE, HEAD
Changes since 1.1: +0 -0 lines

Yeah, this is an initial import of Prex, portable real-time microkernel 
operating system. I wanna hack it for non-profit but fun, so let it in.

#ifndef	NULL
#if !defined(__GNUG__) || __GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 90)
#if !defined(__cplusplus)
#define	NULL	(void *)0
#else
#define	NULL	0
#endif /* !__cplusplus */
#else
#define	NULL	__null
#endif
#endif