nocompile-limits.dfa 682 B

123456789101112131415161718192021
  1. # nolimits.dfa
  2. # Build time configuration of libpng
  3. #
  4. # Author: John Bowler
  5. # Copyright: (c) John Bowler, 2025
  6. #
  7. # Usage rights:
  8. # To the extent possible under law, the author has waived all copyright and
  9. # related or neighboring rights to this work. This work is published from:
  10. # United States.
  11. #
  12. # Build libpng without any limits and without run-time settable limits. Turning
  13. # USER_LIMITS off reduces libpng code size by allowing compile-time elimination
  14. # of some checking code.
  15. #
  16. option USER_LIMITS off
  17. @# define PNG_USER_WIDTH_MAX PNG_UINT_31_MAX
  18. @# define PNG_USER_HEIGHT_MAX PNG_UINT_31_MAX
  19. @# define PNG_USER_CHUNK_CACHE_MAX 0
  20. @# define PNG_USER_CHUNK_MALLOC_MAX 0