mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Disable compiler optimizations for topalette and tobilevel functions for all msvc versions
This commit is contained in:
parent
3164b9ee8d
commit
e6733c813a
|
@ -998,7 +998,7 @@ frompalette(Imaging imOut, Imaging imIn, const char *mode)
|
||||||
return imOut;
|
return imOut;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER == 1600)
|
#if defined(_MSC_VER)
|
||||||
#pragma optimize("", off)
|
#pragma optimize("", off)
|
||||||
#endif
|
#endif
|
||||||
static Imaging
|
static Imaging
|
||||||
|
@ -1233,7 +1233,7 @@ tobilevel(Imaging imOut, Imaging imIn, int dither)
|
||||||
|
|
||||||
return imOut;
|
return imOut;
|
||||||
}
|
}
|
||||||
#if defined(_MSC_VER) && (_MSC_VER == 1600)
|
#if defined(_MSC_VER)
|
||||||
#pragma optimize("", on)
|
#pragma optimize("", on)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user