Alexandre Julliard : winebuild: Make the 32-bit side of a 16-bit module always a DLL.

Alexandre Julliard julliard at winehq.org
Fri Jun 19 14:48:54 CDT 2020


Module: wine
Branch: master
Commit: cee48cc78989cc2621bb98b466f80a35cfa43a12
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=cee48cc78989cc2621bb98b466f80a35cfa43a12

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jun 19 12:57:23 2020 +0200

winebuild: Make the 32-bit side of a 16-bit module always a DLL.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/winebuild/parser.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tools/winebuild/parser.c b/tools/winebuild/parser.c
index 0f2b9c1e10..0207b8ac3c 100644
--- a/tools/winebuild/parser.c
+++ b/tools/winebuild/parser.c
@@ -826,11 +826,7 @@ void add_16bit_exports( DLLSPEC *spec32, DLLSPEC *spec16 )
     ORDDEF *odp;
 
     spec32->file_name = xstrdup( spec16->file_name );
-    if (spec16->characteristics & IMAGE_FILE_DLL)
-    {
-        spec32->characteristics = IMAGE_FILE_DLL;
-        spec32->init_func = xstrdup( "DllMain" );
-    }
+    spec32->characteristics = IMAGE_FILE_DLL;
 
     /* add an export for the NE module */
 




More information about the wine-cvs mailing list