summaryrefslogtreecommitdiff
path: root/acorn/osdep.h
blob: ea002ef9dc3b232adffca9e0527fd1be5f928e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
  Copyright (c) 1990-2005 Info-ZIP.  All rights reserved.

  See the accompanying file LICENSE, version 2004-May-22 or later
  (the contents of which are also included in zip.h) for terms of use.
  If, for some reason, all these files are missing, the Info-ZIP license
  also may be found at:  ftp://ftp.info-zip.org/pub/infozip/license.html
*/
#include "riscos.h"

#define RISCOS
#define NO_SYMLINK
#define NO_FCNTL_H
#define NO_UNISTD_H
#define NO_MKTEMP

#define PROCNAME(n) (action == ADD || action == UPDATE ? wild(n) : \
                     procname(n, 1))

#define isatty(a) 1
#define fseek(f,o,t) riscos_fseek((f),(o),(t))

#define localtime riscos_localtime
#define gmtime riscos_gmtime

#ifdef ZCRYPT_INTERNAL
#  define ZCR_SEED2     (unsigned)3141592654L   /* use PI as seed pattern */
#endif