1/* 2 Copyright (c) 1990-1999 Info-ZIP. All rights reserved. 3 4 See the accompanying file LICENSE, version 1999-Oct-05 or later 5 (the contents of which are also included in zip.h) for terms of use. 6 If, for some reason, both of these files are missing, the Info-ZIP license 7 also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html 8*/ 9#ifndef __amiga_amiga_h 10#define __amiga_amiga_h 11 12/* amiga.h 13 * 14 * Globular definitions that affect all of AmigaDom. 15 * 16 * Originally included in unzip.h, extracted for simplicity and eeze of 17 * maintenance by John Bush. 18 * 19 * This version is for use with Zip. It is not globally included, but used 20 * only by functions in amiga/amigazip.c. Much material that was needed for 21 * UnZip is absent here. 22 * 23 */ 24 25#include <fcntl.h> /* O_BINARY for open() w/o CR/LF translation */ 26#include "amiga/z-stat.h" /* substitute for <stat.h> and <dire(c|n)t.h> */ 27#define direct dirent 28 29#ifndef MODERN 30# define MODERN 31#endif 32 33#ifdef AZTEC_C /* Manx Aztec C, 5.0 or newer only */ 34# include <clib/dos_protos.h> 35# include <pragmas/dos_lib.h> /* do inline dos.library calls */ 36# define O_BINARY 0 37#endif /* AZTEC_C */ 38 39 40#ifdef __SASC 41# include <dirent.h> 42# include <dos.h> 43# define disk_not_mounted 0 44# if ( (!defined(O_BINARY)) && defined(O_RAW)) 45# define O_BINARY O_RAW 46# endif 47#endif /* SASC */ 48 49 50/* Funkshine Prough Toe Taipes */ 51 52LONG FileDate (char *, time_t[]); 53 54#endif /* __amiga_amiga_h */ 55