mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
SocketAddressWindows.h contains a bunch of copy-pasted Windows definitions. This started causing ad-nauseam redefinition errors when implementing the HTTP disk cache for Windows. Instead, let's forward-declare the types we can in SocketAddress.h and only define the couple of constants that we need. We can then assert at compile-time that we defined them correctly.
2.9 KiB
2.9 KiB