rmagick / rmagick

Ruby bindings for ImageMagick
https://rmagick.github.io/
MIT License
694 stars 140 forks source link

Fix header checks in order to use aligned_malloc expectedly #1579

Closed Watson1978 closed 1 month ago

Watson1978 commented 1 month ago

To use the following APIs, the header files should have been checked in advance

      memory_api = %w[
        posix_memalign
        malloc_usable_size
        malloc_size
        _aligned_msize
      ]