Subversion Repositories Kolibri OS

Rev

Rev 6617 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ; zconf.inc -- configuration of the zlib compression library
  2. ; Copyright (C) 1995-2013 Jean-loup Gailly.
  3. ; For conditions of distribution and use, see copyright notice in zlib.inc
  4.  
  5. ; Compile with -DMAXSEG_64K if the alloc function cannot allocate more
  6. ; than 64k bytes at a time (needed on systems with 16-bit int).
  7.  
  8. ; Maximum value for memLevel in deflateInit2
  9. MAX_MEM_LEVEL equ 9
  10.  
  11. ; Maximum value for windowBits in deflateInit2 and inflateInit2.
  12. ; WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
  13. ; created by gzip. (Files created by minigzip can still be extracted by
  14. ; gzip.)
  15.  
  16. MAX_WBITS equ 15 ;32K LZ77 window
  17.  
  18. ; The memory requirements for deflate are (in bytes):
  19. ;            (1 << (windowBits+2)) +  (1 << (memLevel+9))
  20. ; that is: 128K for windowBits=15  +  128K for memLevel = 8  (default values)
  21. ; plus a few kilobytes for small objects. For example, if you want to reduce
  22. ; the default memory requirements from 256K to 128K, compile with
  23. ;     make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
  24. ; Of course this will generally degrade compression (there's no free lunch).
  25.  
  26. ;   The memory requirements for inflate are (in bytes) 1 << windowBits
  27. ; that is, 32K for windowBits=15 (default value) plus a few kilobytes
  28. ; for small objects.
  29.