mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +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;
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER == 1600)
|
||||
#if defined(_MSC_VER)
|
||||
#pragma optimize("", off)
|
||||
#endif
|
||||
static Imaging
|
||||
|
@ -1233,7 +1233,7 @@ tobilevel(Imaging imOut, Imaging imIn, int dither)
|
|||
|
||||
return imOut;
|
||||
}
|
||||
#if defined(_MSC_VER) && (_MSC_VER == 1600)
|
||||
#if defined(_MSC_VER)
|
||||
#pragma optimize("", on)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user