diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2006-06-20 12:03:18 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2006-06-20 12:03:18 +0000 |
commit | 6f9c09cec9ce9728f48b2cbcab0ce70b5b142741 (patch) | |
tree | 250eee80c9eaf96d36db5572137f6accefb398b5 /Build/source/texk/web2c/texmfmem.h | |
parent | 4ce45653a69c4ce44317fc2c42523bd3339fc90b (diff) |
added conditional code in web2c to support xetex
git-svn-id: svn://tug.org/texlive/trunk@1708 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/texmfmem.h')
-rw-r--r-- | Build/source/texk/web2c/texmfmem.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/texmfmem.h b/Build/source/texk/web2c/texmfmem.h index 32c41e08215..78bf73fb787 100644 --- a/Build/source/texk/web2c/texmfmem.h +++ b/Build/source/texk/web2c/texmfmem.h @@ -113,9 +113,24 @@ typedef union twohalves hhfield; #endif #ifdef WORDS_BIGENDIAN +#ifdef XeTeX + struct + { + integer CINT; + integer CINT1; + } x; +#else integer cint; +#endif fourquarters qqqq; #else /* not WORDS_BIGENDIAN */ +#ifdef XeTeX + struct + { + integer CINT1; + integer CINT; + } x; +#else struct { #if defined (TeX) && !defined (SMALLTeX) || defined (MF) && !defined (SMALLMF) || defined (MP) && !defined (SMALLMP) @@ -123,12 +138,15 @@ typedef union #endif /* big {TeX,MF,MP} */ integer CINT; } u; +#endif struct { +#ifndef XeTeX #if defined (TeX) && !defined (SMALLTeX) || defined (MF) && !defined (SMALLMF) || defined (MP) && !defined (SMALLMP) halfword junk; #endif /* big {TeX,MF,MP} */ +#endif fourquarters QQQQ; } v; #endif /* not WORDS_BIGENDIAN */ @@ -141,13 +159,28 @@ typedef union typedef union { #ifdef WORDS_BIGENDIAN +#ifdef XeTeX + struct + { + integer CINT; + } x; +#else integer cint; +#endif fourquarters qqqq; #else /* not WORDS_BIGENDIAN */ +#ifdef XeTeX + struct + { + halfword junk; + integer CINT; + } x; +#else struct { integer CINT; } u; +#endif struct { @@ -166,8 +199,16 @@ typedef union #define rh v.RH #define lhfield v.LH +#ifdef XeTeX +#define cint x.CINT +#define cint1 x.CINT1 +#else #ifndef WORDS_BIGENDIAN #define cint u.CINT +#endif +#endif /* XeTeX */ + +#ifndef WORDS_BIGENDIAN #define qqqq v.QQQQ #endif |