home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / os2 / ms_sh200.arj / NULL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-13  |  346 b   |  22 lines

  1. /*
  2.  * Define NULL
  3.  */
  4.  
  5. #ifndef NULL
  6. #  ifdef MSDOS
  7. #    if (_MSC_VER >= 600)
  8. #      define NULL    ((void *)0)
  9.  
  10. #    elif (defined(M_I86SM) || defined(M_I86MM))
  11. #      define NULL    0
  12.  
  13. #    else
  14. #      define NULL    0L
  15. #    endif
  16. #  elif defined(__STDC__)
  17. #      define NULL    ((void *)0)
  18. #  else
  19. #      define NULL    0
  20. #  endif
  21. #endif
  22.