summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/Src/Common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/Common.h b/Source/Core/Common/Src/Common.h
index d32a49416e..b254076165 100644
--- a/Source/Core/Common/Src/Common.h
+++ b/Source/Core/Common/Src/Common.h
@@ -54,8 +54,8 @@
#endif
// Darwin ABI requires that stack frames be aligned to 16-byte boundaries.
-// This probably wouldn't break anyone either, but hey
-#ifdef __APPLE__
+// This is only needed on i386 gcc - x86_64 already aligns to 16bytes
+#if defined(__APPLE__) && defined(__i386__) && defined(__GNUC__)
#define STACKALIGN __attribute__((__force_align_arg_pointer__))
#else
#define STACKALIGN