home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / IncPOS.lzx / stddef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-18  |  341 b   |  25 lines

  1. #ifndef __STDDEF_H
  2. #define __STDDEF_H
  3.  
  4. #ifndef __INC_POS_PEXEC_TYPES_H
  5. #include <pExec/Types.h>
  6. #endif
  7.  
  8. #ifndef _PTRDIFF_T
  9. #define _PTRDIFF_T
  10. typedef long ptrdiff_t;
  11. #endif
  12.  
  13. #ifndef _WCHAR_T
  14. #define _WCHAR_T
  15. typedef char wchar_t;
  16. #endif
  17.  
  18. extern int errno;
  19.  
  20. #define offsetof(type,memb) ((size_t)((unsigned long)&((type *)0)->memb))
  21.  
  22.  
  23.  
  24. #endif
  25.