From 1bd7a009f19f48d1388583f3a21e67de904437ba Mon Sep 17 00:00:00 2001 From: Tom van Dijck Date: Thu, 9 Jun 2016 11:24:06 -0700 Subject: [PATCH] fix zlib --- contrib/zlib/premake5.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/zlib/premake5.lua b/contrib/zlib/premake5.lua index 7cf4ed1a..e1bb429b 100644 --- a/contrib/zlib/premake5.lua +++ b/contrib/zlib/premake5.lua @@ -12,3 +12,6 @@ project "zlib-lib" filter "system:windows" defines { "_WINDOWS" } + + filter "system:not windows" + defines { 'HAVE_UNISTD_H' }