home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / ansi / i386 / stddef.h < prev    next >
C/C++ Source or Header  |  1992-12-07  |  553b  |  20 lines

  1. #ifndef _ANSI_I386_STDDEF_H
  2. #define _ANSI_I386_STDDEF_H
  3.  
  4. #define _DEFINE_NULL
  5. #define _DEFINE_SIZE_T
  6. #define _DEFINE_WCHAR_T
  7. #include <ansi/i386/stdtypes.h>
  8.  
  9. /* The signed integral type of the result of subtracting two pointers. */
  10.  
  11. typedef long ptrdiff_t;
  12.  
  13. /* An integral constant expression that has type `size_t', the value of
  14.  * which is the offset in bytes to the structure member `identifier' from
  15.  * the beginning of the structure `type'. */
  16.  
  17. #define offsetof(type,identifier) ((size_t)&((type *)0)->identifier)
  18.  
  19. #endif /* _ANSI_I386_STDDEF_H */
  20.