Alexandre Julliard : include: Make sure the JUMP_BUFFER structure is correctly aligned on x86-64

Alexandre Julliard julliard at winehq.org
Sat Jul 6 16:01:25 CDT 2019


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Jul  6 20:05:53 2019 +0200

include: Make sure the JUMP_BUFFER structure is correctly aligned on x86-64

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

---

 include/msvcrt/setjmp.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/msvcrt/setjmp.h b/include/msvcrt/setjmp.h
index 2a4af49..26dc4a7 100644
--- a/include/msvcrt/setjmp.h
+++ b/include/msvcrt/setjmp.h
@@ -47,12 +47,12 @@ typedef struct __JUMP_BUFFER
 
 #elif defined(__x86_64__)
 
-typedef struct _SETJMP_FLOAT128
+typedef DECLSPEC_ALIGN(16) struct _SETJMP_FLOAT128
 {
-    unsigned __int64 DECLSPEC_ALIGN(16) Part[2];
+    unsigned __int64 Part[2];
 } SETJMP_FLOAT128;
 
-typedef struct _JUMP_BUFFER
+typedef DECLSPEC_ALIGN(16) struct _JUMP_BUFFER
 {
     unsigned __int64 Frame;
     unsigned __int64 Rbx;




More information about the wine-cvs mailing list