home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / ansi / m68k / stddef.h < prev   
Encoding:
C/C++ Source or Header  |  1991-09-12  |  334 b   |  20 lines

  1. #ifndef _ANSI_M68K_STDDEF_H
  2. #define _ANSI_M68K_STDDEF_H
  3.  
  4. #ifndef NULL
  5. #define NULL ((void *)0)
  6. #endif
  7.  
  8. typedef long ptrdiff_t;
  9.  
  10. #ifndef _SIZE_T
  11. #define _SIZE_T
  12. typedef unsi$    3 long size_t;
  13. #endif
  14.  
  15. typedef unsigned short wchar_t;
  16.  
  17. #define offsetof(type,identifier) ((size_t)&((type *)0)->identifier)
  18.  
  19. #endif /* _ANSI_M68K_STDDEF_H */
  20.