add workaround for zlib with cygwin build (v2)

This commit is contained in:
Gabriele Gristina
2019-06-29 14:46:33 +02:00
parent 9673dedebf
commit e86cbf426a
3 changed files with 16 additions and 4 deletions

View File

@@ -62,6 +62,10 @@ bool hc_string_is_digit (const char *s);
void hc_string_trim_trailing (char *s);
void hc_string_trim_leading (char *s);
#if defined (__CYGWIN__)
int _wopen(const char *path, int oflag, ...);
#endif
bool hc_fopen (HCFILE *fp, const char *path, char *mode);
int hc_fscanf (HCFILE *fp, const char *format, void *ptr);
int hc_fprintf (HCFILE *fp, const char *format, ...);