diff options
author | Karl Berry <karl@freefriends.org> | 2008-04-11 16:47:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-04-11 16:47:47 +0000 |
commit | 0ff4ab9592dd753051d5a6db63f07c56c367f1ed (patch) | |
tree | 33b9e2189c142d97ee19ea273f013771e3ace666 /Build/source/texk/web2c/web2c/coerce.h | |
parent | cd2bd80c32376c7af756da7ed6f377ad2577650c (diff) |
initial attempt at luatex build
git-svn-id: svn://tug.org/texlive/trunk@7379 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/web2c/coerce.h')
-rw-r--r-- | Build/source/texk/web2c/web2c/coerce.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/web2c/coerce.h b/Build/source/texk/web2c/web2c/coerce.h index 7f5bfa2cd79..db0b13563d5 100644 --- a/Build/source/texk/web2c/web2c/coerce.h +++ b/Build/source/texk/web2c/web2c/coerce.h @@ -54,9 +54,11 @@ extern void remembersourceinfo P2H(strnumber, int); #include <luatexdir/luatex.h> #endif /* luaTeX */ -#ifdef pdfTeX +/* When compiling the lib in luatexdir, we -DpdfTeX so code can be more + easily shared. But we can't have both pdftexd.h and luatexd.h, etc. */ +#if defined (pdfTeX) && !defined (luaTeX) #include <pdftexdir/pdftex.h> -#endif /* pdfTeX */ +#endif /* pdfTeX and not luaTeX */ #ifdef XeTeX #include <xetexdir/xetex.h> |