Explorar o código

in_addr_t not available on windows

We could #define it but uint32_t is more explicit anyway
Matt Clarkson %!s(int64=10) %!d(string=hai) anos
pai
achega
05f3bf9d5a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -9230,7 +9230,7 @@ static void *worker_thread_run(void *thread_func_param)
 	struct mg_context *ctx = (struct mg_context *)thread_func_param;
 	struct mg_connection *conn;
 	struct mg_workerTLS tls;
-	in_addr_t addr;
+	uint32_t addr;
 
 	mg_set_thread_name("worker");