Module: wine Branch: master Commit: 3efc0fbf1a3151faa79b44dae52c412c5400232d URL: https://gitlab.winehq.org/wine/wine/-/commit/3efc0fbf1a3151faa79b44dae52c412...
Author: Alexandre Julliard julliard@winehq.org Date: Sat Nov 12 17:01:23 2022 +0100
winecrt0: Don't build with WINE_UNIX_LIB.
These files end up in a .exe.so module, not in a real Unix library.
---
dlls/winecrt0/exe_entry.c | 3 +++ dlls/winecrt0/exe_main.c | 3 +++ dlls/winecrt0/exe_wentry.c | 3 +++ dlls/winecrt0/exe_wmain.c | 3 +++ 4 files changed, 12 insertions(+)
diff --git a/dlls/winecrt0/exe_entry.c b/dlls/winecrt0/exe_entry.c index d4d1d7d6757..432c598286c 100644 --- a/dlls/winecrt0/exe_entry.c +++ b/dlls/winecrt0/exe_entry.c @@ -22,6 +22,9 @@ #pragma makedep unix #endif
+/* this is actually part of a static lib linked into a .exe.so module, not a real Unix library */ +#undef WINE_UNIX_LIB + #include <stdarg.h> #include "windef.h" #include "winbase.h" diff --git a/dlls/winecrt0/exe_main.c b/dlls/winecrt0/exe_main.c index 8861cbf1449..2465c83bdf0 100644 --- a/dlls/winecrt0/exe_main.c +++ b/dlls/winecrt0/exe_main.c @@ -22,6 +22,9 @@ #pragma makedep unix #endif
+/* this is actually part of a static lib linked into a .exe.so module, not a real Unix library */ +#undef WINE_UNIX_LIB + #include <stdarg.h> #include "windef.h" #include "winbase.h" diff --git a/dlls/winecrt0/exe_wentry.c b/dlls/winecrt0/exe_wentry.c index a4c1a0897fb..e15a39996fd 100644 --- a/dlls/winecrt0/exe_wentry.c +++ b/dlls/winecrt0/exe_wentry.c @@ -22,6 +22,9 @@ #pragma makedep unix #endif
+/* this is actually part of a static lib linked into a .exe.so module, not a real Unix library */ +#undef WINE_UNIX_LIB + #include <stdarg.h> #include "windef.h" #include "winbase.h" diff --git a/dlls/winecrt0/exe_wmain.c b/dlls/winecrt0/exe_wmain.c index e576a8baceb..4a567661ea5 100644 --- a/dlls/winecrt0/exe_wmain.c +++ b/dlls/winecrt0/exe_wmain.c @@ -22,6 +22,9 @@ #pragma makedep unix #endif
+/* this is actually part of a static lib linked into a .exe.so module, not a real Unix library */ +#undef WINE_UNIX_LIB + #include <stdarg.h> #include "windef.h" #include "winbase.h"