summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2010-06-18 09:29:20 +0000
committerTaco Hoekwater <taco@elvenkind.com>2010-06-18 09:29:20 +0000
commit9db07d45aa3ffd06fb9958b92b82ca7e84041002 (patch)
treea86277378fbca63c448b7d4d1fd092d8d335c1bc /Build/source/texk/web2c/luatexdir/tex
parent1812fd5a14e0bfad7bf8a1d9abe63508fece4c83 (diff)
fix endianness issues with some luatex data structures for (un)dump
git-svn-id: svn://tug.org/texlive/trunk@19032 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/textoken.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/textoken.h b/Build/source/texk/web2c/luatexdir/tex/textoken.h
index 1cb4533a5d2..7af0bf4ee51 100644
--- a/Build/source/texk/web2c/luatexdir/tex/textoken.h
+++ b/Build/source/texk/web2c/luatexdir/tex/textoken.h
@@ -17,7 +17,7 @@
You should have received a copy of the GNU General Public License along
with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
-/* $Id: textoken.h 3376 2010-01-25 16:50:23Z taco $ */
+/* $Id: textoken.h 3723 2010-06-18 09:19:27Z taco $ */
#ifndef TEXTOKEN_H
# define TEXTOKEN_H
@@ -45,8 +45,13 @@
# include "tex/stringpool.h"
typedef struct smemory_word_ {
+# ifdef WORDS_BIGENDIAN
halfword hhrh;
halfword hhlh;
+#else
+ halfword hhlh;
+ halfword hhrh;
+#endif
} smemory_word;
# define fix_mem_init 10000