ObjFW  Check-in [d077c31c5c]

Overview
Comment:Fix compilation with old MinGW versions
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d077c31c5c9e9360947b355b0acb122a296ec370ab1e43a1606ef28974b947c4
User & Date: js on 2024-01-20 14:59:51
Other Links: manifest | tags
Context
2024-01-20
15:18
+[OFSystemInfo networkInterfaces]: Avoid IfIndex check-in: abe3ccd61e user: js tags: trunk
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:17
Update ChangeLog check-in: ed45dbf46a user: js tags: trunk
Changes

Modified src/platform/Windows/OFSystemInfo+NetworkInterfaces.m from [a714877a2e] to [42cc58d3b5].

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;