Use mg_fopen only on win32

This commit is contained in:
Sergey Lyubka committed 2021-07-22 22:46:33 +01:00
1 parent a771d6a19d
commit 55e2077a46
7 files changed
+32 -40

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
#if MG_ENABLE_SSI
static char *mg_ssi(const char *path, const char *root, int depth) {
struct mg_iobuf b = {NULL, 0, 0};
FILE *fp = mg_fopen(path, "rb");
FILE *fp = fopen(path, "rb");
if (fp != NULL) {
char buf[BUFSIZ], arg[sizeof(buf)];
int ch, intag = 0;