mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 18:36:17 +03:00
Issue #697. On MSVC 2012 builds <unistd.h> is not required.
This commit is contained in:
parent
841582fa26
commit
5ceb3ca875
|
@ -13,11 +13,12 @@
|
||||||
#include <tiff.h>
|
#include <tiff.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _UNISTD_H
|
#ifndef _MSC_VER
|
||||||
#include <unistd.h>
|
#ifndef _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 )
|
||||||
#define max(x,y) (( x < y ) ? y : x )
|
#define max(x,y) (( x < y ) ? y : x )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user