Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cases where GIF_LIB_VERSION is not defined
Versions up to 4.1.6 of GIFLIB defined a GIF_LIB_VERSION macro that was string-valued. Versions after 4.1.6 define integer-valued GIFLIB_MAJOR, GIFLIB_MINOR, and GIFLIB_RELEASE macros for the three components of the version. Check for GIF_LIB_VERSION, otherwise use the new macros.
- Loading branch information