home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / _NULL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-18  |  445 b   |  26 lines

  1. /*  _null.h
  2.  
  3.     Definition of NULL.
  4.  
  5. */
  6.  
  7. /* $Copyright: 1987$ */
  8. /* $Revision:   8.1  $ */
  9.  
  10. #ifndef NULL
  11. #  if !defined(__FLAT__)
  12. #    if defined(__TINY__) || defined(__SMALL__) || defined(__MEDIUM__)
  13. #      define NULL    0
  14. #    else
  15. #      define NULL    0L
  16. #    endif
  17. #  else
  18. #    if defined(__cplusplus) || defined(_Windows)
  19. #      define NULL 0
  20. #    else
  21. #      define NULL ((void *)0)
  22. #    endif
  23. #  endif
  24. #endif
  25.  
  26.