mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-11 16:40:17 +00:00
Fix build
This commit is contained in:
1 parent
2a3492766f
commit
fb0a9bc7e3
11 files changed
+22
-16
No files matched your search
+1
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user