home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / DMAKE38A.ZIP / ITYPES.H < prev    next >
C/C++ Source or Header  |  1992-01-23  |  2KB  |  57 lines

  1. /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/RCS/itypes.h,v 1.1 1992/01/24 03:29:40 dvadura Exp $
  2. -- SYNOPSIS -- type declarations for common types
  3. -- 
  4. -- DESCRIPTION
  5. --     portable type declarations.
  6. --
  7. -- AUTHOR
  8. --      Dennis Vadura, dvadura@watdragon.uwaterloo.ca
  9. --      CS DEPT, University of Waterloo, Waterloo, Ont., Canada
  10. --
  11. -- COPYRIGHT
  12. --      Copyright (c) 1990 by Dennis Vadura.  All rights reserved.
  13. -- 
  14. --      This program is free software; you can redistribute it and/or
  15. --      modify it under the terms of the GNU General Public License
  16. --      (version 1), as published by the Free Software Foundation, and
  17. --      found in the file 'LICENSE' included with this distribution.
  18. -- 
  19. --      This program is distributed in the hope that it will be useful,
  20. --      but WITHOUT ANY WARRANTY; without even the implied warrant of
  21. --      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  22. --      GNU General Public License for more details.
  23. -- 
  24. --      You should have received a copy of the GNU General Public License
  25. --      along with this program;  if not, write to the Free Software
  26. --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  27. --
  28. -- LOG
  29. --     $Log: itypes.h,v $
  30.  * Revision 1.1  1992/01/24  03:29:40  dvadura
  31.  * dmake Version 3.8, Initial revision
  32.  *
  33. */
  34.  
  35.  
  36. #ifndef ITYPES_h
  37. #define    ITYPES_h
  38.  
  39. #if defined(M_I86) || defined(MC68000)
  40. typedef char  int8;               /* typedefs for right size ints */
  41. typedef int   int16;
  42. typedef long  int32;
  43. typedef unsigned char  uint8;
  44. typedef unsigned int   uint16;
  45. typedef unsigned long  uint32;
  46. #else
  47. typedef char  int8;               /* typedefs for right size ints */
  48. typedef short int16;
  49. typedef long  int32;
  50. typedef unsigned char  uint8;
  51. typedef unsigned short uint16;
  52. typedef unsigned long  uint32;
  53. #endif
  54.  
  55. #endif
  56.  
  57.