Merge pull request #19392 from hrydgard/warning-fixes

Warning fixes in our zlib fork
This commit is contained in:
Henrik Rydgård 2024-08-09 12:15:55 -06:00 committed by GitHub
commit 50ed6c4cda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 0 deletions

View File

@ -5,6 +5,10 @@
#include "gzguts.h"
#ifndef _WIN32
#include <unistd.h>
#endif
#if defined(_WIN32) && !defined(__BORLANDC__)
# define LSEEK _lseeki64
#else

View File

@ -5,6 +5,10 @@
#include "gzguts.h"
#ifndef _WIN32
#include <unistd.h>
#endif
/* Local functions */
local int gz_load OF((gz_statep, unsigned char *, unsigned, unsigned *));
local int gz_avail OF((gz_statep));

View File

@ -5,6 +5,10 @@
#include "gzguts.h"
#ifndef _WIN32
#include <unistd.h>
#endif
/* Local functions */
local int gz_init OF((gz_statep));
local int gz_comp OF((gz_statep, int));