aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2013-08-12 09:05:58 -0700
committerPaul Eggert2013-08-12 09:05:58 -0700
commit1d238bc75ac833eb28a72f24cc1acd79ec5999d7 (patch)
tree65fb7ea2c7cdb66d40fbbce440e4623975c9568f /src
parent01f1a9ab4f3eedbbf99140195c2530b7c242de4f (diff)
downloademacs-1d238bc75ac833eb28a72f24cc1acd79ec5999d7.tar.gz
emacs-1d238bc75ac833eb28a72f24cc1acd79ec5999d7.zip
Minor zlib configuration tweaks.
* configure.ac (HAVE_ZLIB): Don't assume zlib is linked if PNG is. * src/decompress.c (fn_inflateInit2) [!WINDOWSNT]: Don't assume presence of fn_inflateInit2_ zlib internal function.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/decompress.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3a8fcfe7e9c..cf851d5bec0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12013-08-12 Paul Eggert <eggert@cs.ucla.edu>
2
3 Minor zlib configuration tweaks.
4 * decompress.c (fn_inflateInit2) [!WINDOWSNT]:
5 Don't assume presence of fn_inflateInit2_ zlib internal function.
6
12013-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org> 72013-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 8
3 * decompress.c (Fzlib_decompress_gzipped_region): Rename to 9 * decompress.c (Fzlib_decompress_gzipped_region): Rename to
diff --git a/src/decompress.c b/src/decompress.c
index 3605d446e5a..4e4e3a9c7dc 100644
--- a/src/decompress.c
+++ b/src/decompress.c
@@ -67,17 +67,17 @@ init_zlib_functions (void)
67 return 1; 67 return 1;
68} 68}
69 69
70#define fn_inflateInit2(strm, windowBits) \
71 fn_inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
72
70#else /* !WINDOWSNT */ 73#else /* !WINDOWSNT */
71 74
72#define fn_inflateInit2_ inflateInit2_ 75#define fn_inflateInit2 inflateInit2
73#define fn_inflate inflate 76#define fn_inflate inflate
74#define fn_inflateEnd inflateEnd 77#define fn_inflateEnd inflateEnd
75 78
76#endif /* WINDOWSNT */ 79#endif /* WINDOWSNT */
77 80
78#define fn_inflateInit2(strm, windowBits) \
79 fn_inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
80
81 81
82struct decompress_unwind_data 82struct decompress_unwind_data
83{ 83{