summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/texmfmp.h
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-03-27 04:24:30 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2013-03-27 04:24:30 +0000
commit45db23013b9d7c7a256b70ea71ab02d55fa161aa (patch)
treec9e8f10e9b0001ea70d361ca72ec9e3674c9e373 /Build/source/texk/web2c/texmfmp.h
parent422dcb8b0ff06693e1f0c553d51782ac57a43c63 (diff)
Fix building XeTeX with Clang on Mac
git-svn-id: svn://tug.org/texlive/trunk@29526 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/texmfmp.h')
-rw-r--r--Build/source/texk/web2c/texmfmp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/texmfmp.h b/Build/source/texk/web2c/texmfmp.h
index 208a5c08774..0f261619226 100644
--- a/Build/source/texk/web2c/texmfmp.h
+++ b/Build/source/texk/web2c/texmfmp.h
@@ -7,6 +7,12 @@
#include <kpathsea/tex-make.h> /* for kpse_make_tex_discard_errors */
#ifdef XeTeX
+#ifdef XETEX_MAC
+/* include this here to avoid conflict between clang's emmintrin.h and
+ * texmfmem.h. Should be removed once a fixed clang is widely available
+ * http://llvm.org/bugs/show_bug.cgi?id=14964 */
+#include <ApplicationServices/ApplicationServices.h>
+#endif
/* added typedefs for unicodefile and voidpointer */
#define XETEX_UNICODE_FILE_DEFINED 1
typedef struct {