diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-08-12 16:15:01 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-08-12 16:15:01 +0300 |
commit | 594a430782d12499543637915fd974483523f500 (patch) | |
tree | ed3011bd979d4ed2aedee2fe19effb0ef00450bd /lisp/emacs-lisp/autoload.el | |
parent | 7a67e06b99a85ae700a7ccc75468397d53af59ed (diff) | |
download | emacs-594a430782d12499543637915fd974483523f500.tar.gz emacs-594a430782d12499543637915fd974483523f500.tar.bz2 emacs-594a430782d12499543637915fd974483523f500.zip |
Fix build with zlib on MS-Windows.
configure.ac (LIBZ): Comment on w32 peculiarities regarding LIBZ.
src/decompress.c [WINDOWSNT]: Include windows.h and w32.h.
(DEF_ZLIB_FN, LOAD_ZLIB_FN) [WINDOWSNT]: New macros. Use them to
define static variables that are pointers to zlib functions to be
dynamically loaded.
(init_zlib_functions) [WINDOWSNT]: New function.
(fn_inflateInit2_, fn_inflate, fn_inflateEnd, fn_inflateInit2):
New macros.
(Fdecompress_gzipped_region, unwind_decompress): Use the fn_*
macros instead of invoking the zlib functions directly.
(syms_of_decompress): DEFSYM Qzlib_dll. Staticpro
Szlib_available_p.
lisp/term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions