home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / INC.PAK / _NULL.H < prev    next >
C/C++ Source or Header  |  1995-08-29  |  545b  |  31 lines

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