mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-02 19:40:10 +03:00
Merge 0b8c870d0b
into 062397c0af
This commit is contained in:
commit
6becb8ce1b
|
@ -74,6 +74,10 @@
|
||||||
|
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBZ
|
||||||
|
#include "zlib.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "Imaging.h"
|
#include "Imaging.h"
|
||||||
|
|
||||||
#include "py3.h"
|
#include "py3.h"
|
||||||
|
@ -3415,7 +3419,6 @@ setup_module(PyObject* m) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBZ
|
#ifdef HAVE_LIBZ
|
||||||
#include "zlib.h"
|
|
||||||
/* zip encoding strategies */
|
/* zip encoding strategies */
|
||||||
PyModule_AddIntConstant(m, "DEFAULT_STRATEGY", Z_DEFAULT_STRATEGY);
|
PyModule_AddIntConstant(m, "DEFAULT_STRATEGY", Z_DEFAULT_STRATEGY);
|
||||||
PyModule_AddIntConstant(m, "FILTERED", Z_FILTERED);
|
PyModule_AddIntConstant(m, "FILTERED", Z_FILTERED);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user