mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	network_interface: fix mingw-w64 build
This commit is contained in:
		@@ -69,7 +69,7 @@ std::vector<NetworkInterface> GetAvailableNetworkInterfaces() {
 | 
			
		||||
                continue;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            struct in_addr gateway = {0};
 | 
			
		||||
            struct in_addr gateway{.S_un{.S_addr{0}}};
 | 
			
		||||
            if (current_address->FirstGatewayAddress != nullptr &&
 | 
			
		||||
                current_address->FirstGatewayAddress->Address.lpSockaddr != nullptr) {
 | 
			
		||||
                gateway = Common::BitCast<struct sockaddr_in>(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user