home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / languages / dice_466 / netdcc / include / stddef.h < prev    next >
C/C++ Source or Header  |  1990-09-04  |  326b  |  23 lines

  1.  
  2. /*
  3.  *  STDDEF.H
  4.  *
  5.  *  (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _STDDEF_H
  9. #define _STDDEF_H
  10.  
  11. #ifndef NULL
  12. #define NULL    ((void *)0L)
  13. #endif
  14. #ifndef offsetof
  15. #define offsetof(sname,fname)   ((long)&((sname *)0)->fname)
  16. #endif
  17. typedef int ptrdiff_t;
  18. typedef int size_t;
  19. typedef char wchar_t;
  20.  
  21. #endif
  22.  
  23.