Use stdio functions without 64 suffix on FreeBSD
FreeBSD neither has nor needs suffixed functions
This commit is contained in:
parent
482c77e661
commit
de0a4d2444
@ -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_FREOPEN(p, m, s) freopen64(p, m, s)
|
||||||
#define MZ_DELETE_FILE remove
|
#define MZ_DELETE_FILE remove
|
||||||
|
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__) || defined(__FreeBSD__)
|
||||||
#ifndef MINIZ_NO_TIME
|
#ifndef MINIZ_NO_TIME
|
||||||
#include <utime.h>
|
#include <utime.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user