Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.   Copyright (c) 1990-2000 Info-ZIP.  All rights reserved.
  3.  
  4.   See the accompanying file LICENSE, version 2000-Apr-09 or later
  5.   (the contents of which are also included in unzip.h) for terms of use.
  6.   If, for some reason, all these files are missing, the Info-ZIP license
  7.   also may be found at:  ftp://ftp.info-zip.org/pub/infozip/license.html
  8. */
  9. #ifdef NLM
  10. #  include <sys/types.h>
  11. #  include <sys/stat.h>
  12. #  include <fcntl.h>
  13. #  include <unistd.h>
  14. #  include <utime.h>
  15. #  include <nwfileio.h>
  16. #  define DIRENT
  17. #  include <time.h>
  18. #  ifndef DATE_FORMAT
  19. #    define DATE_FORMAT DF_MDY
  20. #  endif
  21. #  define lenEOL          2
  22. #  define PutNativeEOL  {*q++ = native(CR); *q++ = native(LF);}
  23. #  define USE_FWRITE    /* write() fails to support textmode output */
  24. #  if (!defined(NOTIMESTAMP) && !defined(TIMESTAMP))
  25. #    define TIMESTAMP
  26. #  endif
  27. #  define MAIN main
  28. #  define DECLARE_TIMEZONE
  29. #  define SCREENWIDTH 80
  30. #  define SCREENSIZE(scrrows, scrcols)  screensize(scrrows, scrcols)
  31.    void InitUnZipConsole OF((void));
  32.    int screensize        OF((int *tt_rows, int *tt_cols));
  33. #endif /* NLM */
  34.