home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Workbench / Archivers / PPCxDMS.lha / PPCxDMS / source.lha / src / cdata.h next >
C/C++ Source or Header  |  1998-02-28  |  1KB  |  81 lines

  1.  
  2. /*
  3.  *     xDMS  v1.1  -  Portable DMS archive unpacker  -  Public Domain
  4.  *     Written by     Andre R. de la Rocha  <adlroc@usa.net>
  5.  *
  6.  *     Main types of variables used in xDMS, some implementation
  7.  *     dependant features and other global stuff
  8.  */
  9.  
  10.  
  11. #ifndef UCHAR
  12. #define UCHAR unsigned char
  13. #endif
  14.  
  15. #ifndef USHORT
  16. #define USHORT unsigned short
  17. #endif
  18.  
  19. #ifndef SHORT
  20. #define SHORT short
  21. #endif
  22.  
  23. #ifndef ULONG
  24. #define ULONG unsigned long
  25. #endif
  26.  
  27.  
  28.  
  29. #ifndef INLINE
  30.     #ifdef __cplusplus
  31.         #define INLINE inline
  32.     #else
  33.         #ifdef __GNUC__
  34.             #define INLINE inline
  35.         #else
  36.             #ifdef __SASC
  37.                 #define INLINE __inline
  38.             #else
  39.                 #define INLINE static
  40.             #endif
  41.         #endif
  42.     #endif
  43. #endif
  44.  
  45.  
  46. #ifndef UNDER_DOS
  47.     #ifdef __MSDOS__
  48.         #define UNDER_DOS
  49.     #else
  50.         #ifdef __MSDOS
  51.             #define UNDER_DOS
  52.         #else
  53.             #ifdef _OS2
  54.                 #define UNDER_DOS
  55.             #else
  56.                 #ifdef _QC
  57.                     #define UNDER_DOS
  58.                 #endif
  59.             #endif
  60.         #endif
  61.     #endif
  62. #endif
  63.  
  64.  
  65. #ifndef DIR_CHAR
  66.     #ifdef UNDER_DOS
  67.         /* running under MSDOS or DOS-like OS */
  68.         #define DIR_CHAR '\\'
  69.     #else
  70.         #define DIR_CHAR '/'
  71.     #endif
  72. #endif
  73.  
  74.  
  75. #define DIR_SEPARATORS ":\\/"
  76.  
  77.  
  78. extern UCHAR *text;
  79.  
  80.  
  81.