Skip to content

Commit

Permalink
Use stdio functions without 64 suffix on FreeBSD
Browse files Browse the repository at this point in the history
FreeBSD neither has nor needs suffixed functions
  • Loading branch information
AMDmi3 committed Jun 8, 2022
1 parent 482c77e commit de0a4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniz_zip.c
Expand Up @@ -145,7 +145,7 @@ static int mz_stat64(const char *path, struct __stat64 *buffer)
#define MZ_FREOPEN(p, m, s) freopen64(p, m, s)
#define MZ_DELETE_FILE remove

#elif defined(__APPLE__)
#elif defined(__APPLE__) || defined(__FreeBSD__)
#ifndef MINIZ_NO_TIME
#include <utime.h>
#endif
Expand Down

0 comments on commit de0a4d2

Please sign in to comment.