mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-03 19:33:07 +03:00
Issue #697. On MSVC 2012 builds <unistd.h> is not required.
This commit is contained in:
parent
841582fa26
commit
5ceb3ca875
|
@ -13,10 +13,11 @@
|
||||||
#include <tiff.h>
|
#include <tiff.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
#ifndef _UNISTD_H
|
#ifndef _UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef min
|
#ifndef min
|
||||||
#define min(x,y) (( x > y ) ? y : x )
|
#define min(x,y) (( x > y ) ? y : x )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user