c07f17e8d9
as __null with egcs 1.0 (GCC 2.90) and above. As several headers are affected by this change, move the definition into a new header file, <null.h>, to ease maintenance.
10 lines
211 B
C
10 lines
211 B
C
/* $NetBSD: null.h,v 1.1 1999/12/22 21:26:17 kleink Exp $ */
|
|
|
|
#ifndef NULL
|
|
#if !defined(__GNUG__) || __GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 90)
|
|
#define NULL 0
|
|
#else
|
|
#define NULL __null
|
|
#endif
|
|
#endif
|