]> git.eshelyaron.com Git - emacs.git/commit
Fix WebP support on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Fri, 22 Oct 2021 12:41:00 +0000 (15:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 22 Oct 2021 12:41:00 +0000 (15:41 +0300)
commit2bffa0189dec332f0026c144f081493e2b7fe94b
tree6d291ac6c41c794f7a9a4157b32af735e3ca29d4
parentbc2a5c112796ea9f072984b471f980e4321263b3
Fix WebP support on MS-Windows

* src/image.c (WebPDecodeRGBA, WebPDecodeRGB, WebPFree): Use
correct names and argument lists in DEF_DLL_FN; fix typos.
(WebPGetFeaturesInternal): Load this instead of WebPGetFeatures,
which is a static inline function in webp/decode.h.
(WebPGetFeatures): Redirect to call WebPGetFeaturesInternal.

* lisp/term/w32-win.el (dynamic-library-alist): Fix the name of
the WebP symbol.

* configure.ac (HAVE_WEBP): Fix detection of libwebp on MinGW.

* nt/INSTALL.W64:
* nt/INSTALL: Update information about libwebp availability.
configure.ac
lisp/term/w32-win.el
nt/INSTALL
nt/INSTALL.W64
src/image.c