home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #4 / amigaacscoverdisc1998-041998.iso / utilities / shareware / dev / vbcc / machines / amiga68k / include / stddef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-12-30  |  580 b   |  44 lines

  1. #ifndef __STDDEF_H
  2. #define __STDDEF_H 1
  3.  
  4. #ifndef __SIZE_T
  5. #define __SIZE_T 1
  6. typedef unsigned long size_t;
  7. #endif
  8.  
  9. #ifndef __FPOS_T
  10. #define __FPOS_T 1
  11. typedef long fpos_t;
  12. #endif
  13.  
  14. #ifndef __PTRDIFF_T
  15. #define __PTRDIFF_T 1
  16. typedef long ptrdiff_t;
  17. #endif
  18.  
  19. #ifndef __WCHAR_T
  20. #define __WCHAR_T
  21. typedef char wchar_t;
  22. #endif
  23. #ifndef __TIME_T
  24. #define __TIME_T 1
  25. typedef long time_t;
  26. #endif
  27.  
  28. #ifndef __CLOCK_T
  29. #define __CLOCK_T 1
  30. typedef long clock_t;
  31. #endif
  32.  
  33. #ifndef NULL
  34. #define NULL ((void *)0)
  35. #endif
  36.  
  37. #ifndef offsetof
  38. #define offsetof(P,M) ((size_t)&((P *)NULL)->M)
  39. #endif
  40.  
  41. #endif
  42.  
  43.  
  44.