mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-12 22:26:13 -04:00
Apply a small patch to common/zlib/gzguts.h to fix a build issue in macOS
This commit is contained in:
parent
dcf21fa50a
commit
e66bc7d8dc
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@
|
|||
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||
*/
|
||||
|
||||
// UEFITool: required for macOS
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef _LARGEFILE64_SOURCE
|
||||
# ifndef _LARGEFILE_SOURCE
|
||||
# define _LARGEFILE_SOURCE 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue