home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume5 / lwf / part01 / Xmd.h < prev    next >
C/C++ Source or Header  |  1989-02-03  |  2KB  |  61 lines

  1. /***********************************************************
  2. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  3. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  4.  
  5.                         All Rights Reserved
  6.  
  7. Permission to use, copy, modify, and distribute this software and its 
  8. documentation for any purpose and without fee is hereby granted, 
  9. provided that the above copyright notice appear in all copies and that
  10. both that copyright notice and this permission notice appear in 
  11. supporting documentation, and that the names of Digital or MIT not be
  12. used in advertising or publicity pertaining to distribution of the
  13. software without specific, written prior permission.  
  14.  
  15. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  16. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  17. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  18. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  19. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  20. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  21. SOFTWARE.
  22.  
  23. ******************************************************************/
  24. #ifndef XMD_H
  25. #define XMD_H 1
  26. /* $Header: Xmd.h,v 1.22 87/09/07 18:07:40 toddb Exp $ */
  27. /*
  28.  *  Xmd.h: MACHINE DEPENDENT DECLARATIONS.
  29.  */
  30.  
  31. /*
  32.  * ibm pcc doesn't understand pragmas.
  33.  */
  34. #if defined(ibm032) && !defined(_pcc_)
  35. pragma on(pointers_compatible);
  36. pragma off(char_default_unsigned);
  37. #endif
  38.  
  39. /*
  40.  * Bitfield suffixes for the protocol structure elements, if you
  41.  * need them.
  42.  */
  43. #define B16
  44. #define B32
  45.  
  46. typedef long           INT32;
  47. typedef short          INT16;
  48. typedef char           INT8;
  49.  
  50. typedef unsigned long CARD32;
  51. typedef unsigned short CARD16;
  52. typedef unsigned char  CARD8;
  53.  
  54. typedef unsigned long        BITS32;
  55. typedef unsigned short        BITS16;
  56. typedef unsigned char        BYTE;
  57.  
  58. typedef unsigned char            BOOL;
  59.  
  60. #endif /* XMD_H */
  61.