home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip511.zip / amiga / amiga.h < prev    next >
C/C++ Source or Header  |  1994-07-26  |  1KB  |  49 lines

  1. /* amiga.h
  2.  *
  3.  * Globular definitions that affect all of AmigaDom.
  4.  *
  5.  * Originally included in unzip.h, extracted for simplicity and eeze of
  6.  * maintenance by John Bush.
  7.  *
  8.  * THIS FILE IS #INCLUDE'd by unzip.h 
  9.  *
  10.  */
  11.  
  12. #include <time.h>
  13.  
  14.  
  15. #ifdef AZTEC_C                   /* Manx Aztec C, 5.0 or newer only */
  16. #  include <clib/dos_protos.h>
  17. #  include <pragmas/dos_lib.h>
  18. #  define MODERN
  19. #  define O_BINARY 0
  20. #  include "amiga/z-stat.h"
  21. #  define dirent direct
  22. #  ifdef ASM_CRC
  23. #    pragma regcall(CalcCRC(a0,d0,a1,d1))
  24. #  endif
  25. #endif /* AZTEC_C */
  26.  
  27.  
  28. #if defined(LATTICE) || defined(__SASC) || defined(__SASC_60)
  29. #  include <sys/types.h>         
  30. #  include <sys/stat.h>
  31. #  include <sys/dir.h>
  32. #  include <dos.h>
  33. #  include <proto/dos.h>  /* needed? */
  34. #  if ( (!defined(O_BINARY)) && defined(O_RAW))
  35. #    define O_BINARY O_RAW
  36. #  endif
  37. #  ifdef ASM_CRC
  38.      /* PUT SOMETHING HERE TO PASS ARGS IN REGISTERS TO CalcCRC() */
  39. #  endif
  40. #endif /* LATTICE */
  41.  
  42. /* Funkshine Prough Toe Taipes */
  43.  
  44. int cmptime (struct tm *, struct tm *);
  45. time_t invlocal (struct tm *);
  46. LONG FileDate (char *, time_t[]);
  47.  
  48. #define dup  /* needed? */
  49.