https://bugs.winehq.org/show_bug.cgi?id=52250 --- Comment #7 from Zebediah Figura <z.figura12(a)gmail.com> --- (In reply to Alexandre Julliard from comment #6)
(In reply to Zebediah Figura from comment #5)
(In reply to Alexandre Julliard from comment #4)
Created attachment 71389 [details] Use WS prefix on Unix
How about something like that instead? Does it work for your setup?
That seems dangerous; surely there are winelib applications out there that are trying to use ws2_32 instead?
Are there? And do they actually work?
Of course I don't know of any winelib applications (at all, really), but a simple program like #include <winsock2.h> int main(int argc, char **argv) { socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); } compiled with winegcc, and explicitly linked to ws2_32 (assuming I've done it right) seems to work, and link to ws2_32 rather than glibc. (I'm also a little confused, because last time I tried proposing that we remove the ability to use host headers together with winsock.h and without USE_WS_PREFIX, you seem to have been of the opinion that we should preserve that for winegcc [1].) [1] https://www.winehq.org/pipermail/wine-devel/2021-April/185656.html -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.