Add NBSD-like Minix system includes.

This commit is contained in:
Gianluca Guida
2011-02-21 13:13:55 +00:00
parent 5518fe9be1
commit 4cf101caae
122 changed files with 13854 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/* $NetBSD: null.h,v 1.8 2009/10/13 17:19:00 dsl Exp $ */
#ifndef _SYS_NULL_H_
#define _SYS_NULL_H_
#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
#endif /* _SYS_NULL_H_ */