home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk23 / dir05 / f012830.re_ / f012830.re
Text File  |  1996-04-02  |  2KB  |  54 lines

  1. /*----------------------------------------------------------------------+
  2. |                                    |
  3. |  Copyright (1992) Bentley Systems, Inc., All rights reserved.        |
  4. |                                    |
  5. |  "MicroStation", "MDL", and "MicroCSL" are trademarks of Bentley    |
  6. |  Systems, Inc.                            |
  7. |                                    |
  8. |  Limited permission is hereby granted to reproduce and modify this    |
  9. |  copyrighted material provided that the resulting code is used only     |
  10. |  in conjunction with Bentley Systems products under the terms of the    |
  11. |  license agreement provided therein, and that this notice is retained    |
  12. |  in its entirety in any such reproduction or modification.        |
  13. |                                    |
  14. +----------------------------------------------------------------------*/
  15. /*----------------------------------------------------------------------+
  16. |                                    |
  17. |   Current Revision:                            |
  18. |   $Workfile:   stddef.h  $
  19. |   $Revision:   6.0  $  $Date:   Thu Oct 21 10:19:44 1993  $
  20. |                                    |
  21. +----------------------------------------------------------------------*/
  22. /*----------------------------------------------------------------------+
  23. |                                    |
  24. |   stddef.h -- MDL implementation of the ANSI standard header.         |
  25. |                                    |
  26. +----------------------------------------------------------------------*/
  27.  
  28. #if !defined (mdl)
  29. #   error This file is intended for MDL only
  30. #endif
  31.  
  32. #if !defined (__stddefH__)
  33. #define __stddefH__
  34.  
  35. #   if !defined (NULL)
  36. #       define NULL ((void *)0)
  37. #   endif
  38.  
  39. #   ifndef _PTRDIFF_R_DEFINED
  40. #       define _PTRDIFF_R_DEFINED
  41. typedef int ptrdiff_t;
  42. #   endif
  43.  
  44. #   ifndef _SIZE_T_DEFINED
  45. #       define _SIZE_T_DEFINED
  46. typedef unsigned int size_t;
  47. #   endif
  48.  
  49. #   ifndef _OFFSETOF_DEFINED
  50. #       define _OFFSETOF_DEFINED
  51. #define offsetof(type,member) (int)(&((type *)0)->member)
  52. #   endif
  53.  
  54. #endif  /* !defined (__stddefH__) */