gzFile_s is not defined by zlib 1.2.5 on macOS 10.11 El Capitan.
It is defined by zlib 1.2.11 on Homebrew.
Better to use gzFile rather than gzFile_s* if possible.
❯❯❯ make
g++ -std=c++11 -Wall -Ofast -msse4.2 -D__SSE4_2_ -m64 -I/Users/sjackman/.homebrew/include -I/Users/sjackman/.homebrew/opt/openssl/include -I. -Wno-unused-result -Wno-strict-aliasing -Wno-unused-function main.cc -c -o main.o
In file included from main.cc:49:
./reader.h:35:21: error: unknown type name 'gzFile_s'; did you mean 'gzFile'?
reader(FILE *in, gzFile_s *in_gzip, BZFILE *in_b...
^~~~~~~~
gzFile
/usr/include/zlib.h:1172:15: note: 'gzFile' declared here
typedef voidp gzFile; /* opaque gzip file descriptor */
^
In file included from main.cc:49:
gzFile_s
is not defined by zlib 1.2.5 on macOS 10.11 El Capitan. It is defined by zlib 1.2.11 on Homebrew. Better to usegzFile
rather thangzFile_s*
if possible.