|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: stddef.h,v 1.11 2011/04/06 11:39:42 miod Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: stddef.h,v 1.12 2011/07/03 18:51:01 jsg Exp $ */ |
|
|
/* $NetBSD: stddef.h,v 1.4 1994/10/26 00:56:26 cgd Exp $ */ |
|
|
/* $NetBSD: stddef.h,v 1.4 1994/10/26 00:56:26 cgd Exp $ */ |
|
|
|
|
|
|
|
|
/*- |
|
|
/*- |
|
@ -67,6 +67,8 @@ typedef __mbstate_t mbstate_t; |
|
|
#ifndef NULL |
|
|
#ifndef NULL |
|
|
#ifdef __GNUG__ |
|
|
#ifdef __GNUG__ |
|
|
#define NULL __null |
|
|
#define NULL __null |
|
|
|
|
|
#elif defined(__cplusplus) |
|
|
|
|
|
#define NULL 0L |
|
|
#else |
|
|
#else |
|
|
#define NULL ((void *)0) |
|
|
#define NULL ((void *)0) |
|
|
#endif |
|
|
#endif |
|
|