osdep.h 808 B

12345678910111213141516171819202122232425262728
  1. /*
  2. Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
  3. See the accompanying file LICENSE, version 2007-Mar-4 or later
  4. (the contents of which are also included in zip.h) for terms of use.
  5. If, for some reason, all these files are missing, the Info-ZIP license
  6. also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
  7. */
  8. #include "riscos.h"
  9. #define RISCOS
  10. #define NO_SYMLINKS
  11. #define NO_FCNTL_H
  12. #define NO_UNISTD_H
  13. #define NO_MKTEMP
  14. #define PROCNAME(n) (action == ADD || action == UPDATE ? wild(n) : \
  15. procname(n, 1))
  16. #define isatty(a) 1
  17. #define fseek(f,o,t) riscos_fseek((f),(o),(t))
  18. #define localtime riscos_localtime
  19. #define gmtime riscos_gmtime
  20. #ifdef ZCRYPT_INTERNAL
  21. # define ZCR_SEED2 (unsigned)3141592654L /* use PI as seed pattern */
  22. #endif