Guest User

Untitled

a guest
Jan 30th, 2017
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. /* A null pointer constant. */
  2.  
  3. #if defined (_STDDEF_H) || defined (__need_NULL)
  4. #undef NULL /* in case <stdio.h> has defined it. */
  5. #ifdef __GNUG__
  6. #define NULL __null
  7. #else /* G++ */
  8. #ifndef __cplusplus
  9. #define NULL ((void *)0)
  10. #else /* C++ */
  11. #define NULL 0
  12. #endif /* C++ */
  13. #endif /* G++ */
  14. #endif /* NULL not defined and <stddef.h> or need NULL. */
  15. #undef __need_NULL
Advertisement
Add Comment
Please, Sign In to add comment