mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +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>
|
||||
#endif
|
||||
|
||||
#ifndef _UNISTD_H
|
||||
#include <unistd.h>
|
||||
#ifndef _MSC_VER
|
||||
#ifndef _UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef min
|
||||
#define min(x,y) (( x > y ) ? y : x )
|
||||
#define max(x,y) (( x < y ) ? y : x )
|
||||
|
|
Loading…
Reference in New Issue
Block a user