home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tlint1_0.zip / tlint1_0 / include / stddef.h < prev    next >
C/C++ Source or Header  |  1995-11-08  |  273b  |  38 lines

  1. /*
  2.  * Copyright (c) 1995, by Thinkage Ltd.
  3.  */
  4.  
  5. #ifndef _D_STDDEF
  6. #    define _D_STDDEF
  7. #    pragma idempotent
  8.  
  9. #    protoset stddef
  10.  
  11. #    define NULL                ((void *)0)
  12. #    define offsetof(t,id)    ((size_t)((char *)(&((t *)0)->id) - (char *)0))
  13.  
  14. #endif /* _D_STDDEF */
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.