summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2010-04-20 13:19:36 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2010-04-20 13:19:36 +0000
commitc15b1d3219ced27e736c5c0eccd8d2726bb1c8fd (patch)
treef4139708beb0c92aa1587425514f051409d43728 /Source/Core/Common
parent026450006afc6b76d5bd6bc49493ecf4532bfe90 (diff)
OS X: enable path in Jit64::stX. fix wxw assert on opening ConfigMain. __force_align_arg_pointer__ not needed on x64 builds
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5393 8ced0084-cf51-0410-be5f-012b33b47a6e
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