mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
scaling back on redefinitions
This commit is contained in:
parent
9bdd575882
commit
e83dbaccce
|
@ -21,12 +21,6 @@
|
||||||
#ifndef _PIL_LIBTIFF_
|
#ifndef _PIL_LIBTIFF_
|
||||||
#define _PIL_LIBTIFF_
|
#define _PIL_LIBTIFF_
|
||||||
|
|
||||||
#ifndef Py_ssize_t
|
|
||||||
/* Py_ssize_t is not included in py2.4 */
|
|
||||||
#define Py_ssize_t int
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
tdata_t data; /* tdata_t == void* */
|
tdata_t data; /* tdata_t == void* */
|
||||||
toff_t loc; /* toff_t == uint32 */
|
toff_t loc; /* toff_t == uint32 */
|
||||||
|
|
|
@ -14,13 +14,6 @@
|
||||||
|
|
||||||
#ifdef HAVE_LIBTIFF
|
#ifdef HAVE_LIBTIFF
|
||||||
|
|
||||||
#undef INT32
|
|
||||||
#undef UINT32
|
|
||||||
|
|
||||||
#ifndef uint64
|
|
||||||
#define uint64 uint64_t
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef uint
|
#ifndef uint
|
||||||
#define uint uint32
|
#define uint uint32
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user