Alexandre Julliard : ddeml: Fix packing of the thunk structure.

Alexandre Julliard julliard at winehq.org
Tue Aug 18 10:02:29 CDT 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Aug 18 16:54:14 2009 +0200

ddeml: Fix packing of the thunk structure.

---

 dlls/ddeml.dll16/ddeml.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/ddeml.dll16/ddeml.c b/dlls/ddeml.dll16/ddeml.c
index 1bc0f11..874c456 100644
--- a/dlls/ddeml.dll16/ddeml.c
+++ b/dlls/ddeml.dll16/ddeml.c
@@ -156,6 +156,7 @@ static HDDEDATA	CALLBACK WDML_InvokeCallback16(DWORD pfn16, UINT uType, UINT uFm
  * WDML_InvokeCallback16.
  * The code below is mainly to create the thunks themselved
  */
+#include "pshpack1.h"
 static struct ddeml_thunk
 {
     BYTE        popl_eax;        /* popl  %eax (return address) */
@@ -166,6 +167,7 @@ static struct ddeml_thunk
     DWORD       callback;
     DWORD       instId;          /* instance ID */
 } *DDEML16_Thunks;
+#include "poppack.h"
 
 static CRITICAL_SECTION ddeml_cs;
 static CRITICAL_SECTION_DEBUG critsect_debug =




More information about the wine-cvs mailing list