From 833fda13ba5868cacf5f1ea8ac56ca263f1ac00f Mon Sep 17 00:00:00 2001 From: bel Date: Mon, 14 Mar 2016 22:05:32 +0100 Subject: [PATCH] mg_remove is also available if NO_FILE is set --- src/civetweb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/civetweb.c b/src/civetweb.c index 3ed350bf..46a19ed5 100644 --- a/src/civetweb.c +++ b/src/civetweb.c @@ -2928,7 +2928,6 @@ mg_stat(struct mg_connection *conn, const char *path, struct file *filep) } -#if !defined(NO_FILES) static int mg_remove(const char *path) { @@ -2936,7 +2935,6 @@ mg_remove(const char *path) to_unicode(path, wbuf, ARRAY_SIZE(wbuf)); return DeleteFileW(wbuf) ? 0 : -1; } -#endif static int