summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r--Build/source/texk/web2c/web2c/coerce.h19
1 files changed, 19 insertions, 0 deletions
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. */