Use stdio functions without 64 suffix on FreeBSD

FreeBSD neither has nor needs suffixed functions
This commit is contained in:
Dmitry Marakasov 2022-06-08 20:36:42 +03:00
parent 482c77e661
commit de0a4d2444

View File

@ -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