Skip to content

Commit

Permalink
fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed Nov 1, 2024
1 parent d35d918 commit bcf2c77
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions compat/ioapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
#include <stdint.h>

#ifndef _ZLIB_H
#include "zlib.h"
#endif
# if __has_include(<zlib.h>)
# include <zlib.h>
# elif __has_include(<zlib-ng.h>)
# include <zlib-ng.h>
# endif
#endif

typedef uint64_t ZPOS64_T;
Expand Down

0 comments on commit bcf2c77

Please sign in to comment.