Fix build

This commit is contained in:
Sergey Lyubka committed 2021-12-21 18:16:12 +00:00
1 parent 2a3492766f
commit fb0a9bc7e3
11 files changed
+22 -16

No files matched your search

+1 -6
View File
@@ -700,11 +700,8 @@ static size_t p_seek(void *fp, size_t offset) {
#endif
return (size_t) ftell((FILE *) fp);
}
#else
static char *p_realpath(const char *path, char *resolved_path) {
(void) path, (void) resolved_path;
return NULL;
}
static int p_stat(const char *path, size_t *size, time_t *mtime) {
(void) path, (void) size, (void) mtime;
@@ -4161,8 +4158,6 @@ struct mg_str mg_url_pass(const char *url) {
#endif
#if MG_ARCH == MG_ARCH_UNIX && defined(__APPLE__)
#include <mach/mach_time.h>
#endif