mirror of
https://github.com/cesanta/mongoose.git
synced 2026-09-30 21:42:42 +07:00
Redefine mkdir only if MG_ENABLE_POSIX_FS==0
This commit is contained in:
committed by
Sergio R. Caprile
parent
8b6e02e985
commit
6a3e1e41c4
@@ -112,7 +112,7 @@ int main(int argc, char *argv[]) {
|
||||
struct mg_tcpip_driver driver = {.tx = tap_tx, .poll = tap_poll, .rx = tap_rx};
|
||||
struct mg_tcpip_if mif = {.driver = &driver,
|
||||
.driver_data = &fd,
|
||||
.enable_req_dns = true,
|
||||
.enable_req_dns = false,
|
||||
.enable_req_sntp = true,
|
||||
.fn = mif_fn};
|
||||
sscanf(mac, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &mif.mac[0], &mif.mac[1],
|
||||
|
||||
Reference in New Issue
Block a user