ObjFW  Check-in [1d5a8be550]

Overview
Comment:Fix compilation with old MinGW versions
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 1.0
Files: files | file ages | folders
SHA3-256: 1d5a8be550c098238ef7dd89e82030508b8ecd7d01f6c3703ba71181796990b3
User & Date: js on 2024-01-20 15:03:08
Other Links: branch diff | manifest | tags
Context
2024-01-20
15:18
+[OFSystemInfo networkInterfaces]: Avoid IfIndex check-in: 0a6eddb5bc user: js tags: 1.0
15:03
Fix compilation with old MinGW versions check-in: 1d5a8be550 user: js tags: 1.0
14:59
Fix compilation with old MinGW versions check-in: d077c31c5c user: js tags: trunk
2024-01-15
20:37
Add new signing key check-in: 4ee9d9130f user: js tags: 1.0
Changes

Modified src/platform/Windows/OFSystemInfo+NetworkInterfaces.m from [5974874b18] to [1b3f2c306f].

97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
				    OFNetworkInterfaceHardwareAddress;
				OFData *address = [OFData
				    dataWithItems: iter->PhysicalAddress
					    count: iter->PhysicalAddressLength];
				[interface setObject: address forKey: key];
			}

			for (PIP_ADAPTER_UNICAST_ADDRESS_LH addrIter =
			    iter->FirstUnicastAddress; addrIter != NULL;
			    addrIter = addrIter->Next) {
				OFSocketAddress address;
				int length;
				OFNetworkInterfaceKey key;
				OFMutableData *addresses;








|







97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
				    OFNetworkInterfaceHardwareAddress;
				OFData *address = [OFData
				    dataWithItems: iter->PhysicalAddress
					    count: iter->PhysicalAddressLength];
				[interface setObject: address forKey: key];
			}

			for (__typeof__(iter->FirstUnicastAddress) addrIter =
			    iter->FirstUnicastAddress; addrIter != NULL;
			    addrIter = addrIter->Next) {
				OFSocketAddress address;
				int length;
				OFNetworkInterfaceKey key;
				OFMutableData *addresses;