Commit 7a389b48 by Jason Merrill

(NULL): Use __null for G++.

From-SVN: r12601
parent f1ffca1c
......@@ -306,7 +306,11 @@ typedef __WINT_TYPE__ wint_t;
#if defined (_STDDEF_H) || defined (__need_NULL)
#undef NULL /* in case <stdio.h> has defined it. */
#ifdef __GNUG__
#define NULL __null
#else /* G++ */
#define NULL ((void *)0)
#endif /* G++ */
#endif /* NULL not defined and <stddef.h> or need NULL. */
#undef __need_NULL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment