[Bug 52250] New: windows.h WINE_NOWINSOCK check has been removed

WineHQ Bugzilla wine-bugs at winehq.org
Tue Dec 21 05:43:57 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52250

            Bug ID: 52250
           Summary: windows.h WINE_NOWINSOCK check has been removed
           Product: Wine
           Version: 6.8
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winelib
          Assignee: wine-bugs at winehq.org
          Reporter: sacrom at gmail.com
      Distribution: ---

I'm using winelib to compile a Windows/Linux application, where we want to use
the Linux code for threads, files system handling, network code, shared
memory... and we want WINE just for the Win32 GUI code (as we did not implement
a GUI in the Linux/Unix side just on Windows)

Since WINE 6.8 (due this commit
https://source.winehq.org/git/wine.git/commit/9603fba8943f9699e3af6fcfe4acbed09bcb48d9)
the WINE_NOWINSOCK check:

#ifndef WINE_NOWINSOCK
#include <winsock.h>
#endif /* WINE_NOWINSOCK */

Has been removed, now my application does not compile as I'm mixing Linux
socket definitions with the WINE/Windows "winsock.h" file.

If I add this check to the file, the application does compile as with WINE 6.7

Is it possible to add the check back? or should this be done in another way
now?

-- 
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.



More information about the wine-bugs mailing list