The MinGW-w64 compiler allows __attribute__((aligned (32)).

Signed-off-by: Stefan Weil <s...@weilnetz.de>
---
 exec.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/exec.c b/exec.c
index 3dda2ca..6d10595 100644
--- a/exec.c
+++ b/exec.c
@@ -93,8 +93,7 @@ spinlock_t tb_lock = SPIN_LOCK_UNLOCKED;
 #define code_gen_section                                \
     __attribute__((__section__(".gen_code")))           \
     __attribute__((aligned (32)))
-#elif defined(_WIN32)
-/* Maximum alignment for Win32 is 16. */
+#elif defined(_WIN32) && !defined(_WIN64)
 #define code_gen_section                                \
     __attribute__((aligned (16)))
 #else
-- 
1.7.0.4


Reply via email to