home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / zip201.zip / amiga / amiga.h < prev    next >
C/C++ Source or Header  |  1993-09-01  |  963b  |  43 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. #ifdef AZTEC_C                   /* Manx Aztec C, 5.0 or newer only */
  15. #  include <clib/dos_protos.h>
  16. #  include <pragmas/dos_lib.h>
  17. #  define MODERN
  18. #  define O_BINARY 0
  19.  
  20. #  include "amiga/z-stat.h"
  21. #  define dirent direct
  22. #endif /* AZTEC_C */
  23.  
  24.  
  25. #if defined(LATTICE) || defined(__SASC) || defined(__SASC_60)
  26. #  include <sys/types.h>         
  27. #  include <sys/stat.h>
  28. #  include <sys/dir.h>
  29. #  include <dos.h>
  30. #  include <proto/dos.h>  /* needed? */
  31. #  if ( (!defined(O_BINARY)) && defined(O_RAW))
  32. #    define O_BINARY O_RAW
  33. #  endif
  34. #endif /* LATTICE */
  35.  
  36. /* Funkshine Prough Toe Taipes */
  37.  
  38. int cmptime (struct tm *, struct tm *);
  39. time_t invlocal (struct tm *);
  40. LONG FileDate (char *, time_t[]);
  41.  
  42. #define dup  /* needed? */
  43.