summaryrefslogtreecommitdiffstats
path: root/asmalign.h
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-15 20:46:54 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-15 20:46:54 +0000
commita3713ceb29828cce576fa3ea6f936f3ab1d61a38 (patch)
tree7c3284eed13ac128e3b5a9a56874f269d437fc1a /asmalign.h
parent563dca1090f8cf7f2d683277a197ff3b6a2c3aaf (diff)
downloadmpv-a3713ceb29828cce576fa3ea6f936f3ab1d61a38.tar.bz2
mpv-a3713ceb29828cce576fa3ea6f936f3ab1d61a38.tar.xz
add support for intel mac. mp3lib is not fixed yet.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'asmalign.h')
-rw-r--r--asmalign.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/asmalign.h b/asmalign.h
new file mode 100644
index 0000000000..45a59cdaa7
--- /dev/null
+++ b/asmalign.h
@@ -0,0 +1,7 @@
+#ifdef SYS_DARWIN
+#define ASMALIGN8 ".align 3\n\t"
+#define ASMALIGN16 ".align 4\n\t"
+#else
+#define ASMALIGN8 ".balign 8\n\t"
+#define ASMALIGN16 ".balign 16\n\t"
+#endif