Explorar o código

mg_remove is also available if NO_FILE is set

bel %!s(int64=9) %!d(string=hai) anos
pai
achega
833fda13ba
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      src/civetweb.c

+ 0 - 2
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