mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-03 12:43:05 +03:00
Don't carve out exceptions for py2.4 compilers anymore
This commit is contained in:
parent
a8e02e093a
commit
05d8cb5b8f
|
@ -38,11 +38,10 @@ extern int ImagingLibTiffEncodeInit(ImagingCodecState state, char *filename, int
|
||||||
extern int ImagingLibTiffSetField(ImagingCodecState state, ttag_t tag, ...);
|
extern int ImagingLibTiffSetField(ImagingCodecState state, ttag_t tag, ...);
|
||||||
|
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER == 1310)
|
/*
|
||||||
/* VS2003/py2.4 can't use varargs. Skipping trace for now.*/
|
Trace debugging
|
||||||
#define TRACE(args)
|
legacy, don't enable for python 3.x, unicode issues.
|
||||||
#else
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#define VA_ARGS(...) __VA_ARGS__
|
#define VA_ARGS(...) __VA_ARGS__
|
||||||
|
@ -51,8 +50,5 @@ extern int ImagingLibTiffSetField(ImagingCodecState state, ttag_t tag, ...);
|
||||||
|
|
||||||
#define TRACE(args)
|
#define TRACE(args)
|
||||||
|
|
||||||
#endif /* _MSC_VER */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user