From 3171b4c009441b9b6795a47cc3ac1e84b04b7907 Mon Sep 17 00:00:00 2001 From: Taco Hoekwater Date: Tue, 29 Apr 2008 08:03:54 +0000 Subject: luatex-on-aix compilation git-svn-id: svn://tug.org/texlive/trunk@7719 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/web2c/coerce.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'Build/source/texk/web2c/web2c/coerce.h') diff --git a/Build/source/texk/web2c/web2c/coerce.h b/Build/source/texk/web2c/web2c/coerce.h index db0b13563d5..ddb0203eac3 100644 --- a/Build/source/texk/web2c/web2c/coerce.h +++ b/Build/source/texk/web2c/web2c/coerce.h @@ -7,6 +7,23 @@ Therefore, we have to redefine these macros so they don't cast cast their argument (of type memoryword or fourquarters, respectively). */ + +#ifdef luaTeX + +#ifdef print_word +#undef print_word +#define print_word(x) zprint_word (x) +#endif + +/* luatex doesn't have tfm_qqqq */ + +#ifdef eq_destroy +#undef eq_destroy +#define eq_destroy(x) zeq_destroy(x) +#endif + +#else /* luaTeX */ + #ifdef printword #undef printword #define printword(x) zprintword (x) @@ -22,6 +39,8 @@ #define eqdestroy(x) zeqdestroy(x) #endif +#endif + /* And we use the opportunity to declare a few functions that could not be declared in texmfmp.h, because they need typedefs not yet known at that point. */ -- cgit v1.2.3