home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / _NULL.H < prev    next >
C/C++ Source or Header  |  1997-02-14  |  572b  |  32 lines

  1. /*  _null.h
  2.  
  3.     Definition of NULL.
  4.  
  5. */
  6.  
  7. /*
  8.  *      C/C++ Run Time Library - Version 8.0
  9.  *
  10.  *      Copyright (c) 1987, 1997 by Borland International
  11.  *      All Rights Reserved.
  12.  *
  13.  */
  14. /* $Revision:   8.1  $ */
  15.  
  16. #ifndef NULL
  17. #  if !defined(__FLAT__)
  18. #    if defined(__TINY__) || defined(__SMALL__) || defined(__MEDIUM__)
  19. #      define NULL    0
  20. #    else
  21. #      define NULL    0L
  22. #    endif
  23. #  else
  24. #    if defined(__cplusplus) || defined(_Windows)
  25. #      define NULL 0
  26. #    else
  27. #      define NULL ((void *)0)
  28. #    endif
  29. #  endif
  30. #endif
  31.  
  32.