diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1998-06-23 13:39:54 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1998-06-23 13:39:54 +0000 |
commit | 840152fd2d0a26db041dc5e645f20eb67b157ae1 (patch) | |
tree | 23a8e042f026cb4d2b30f48fa9df495f46ee0d86 /byterun/lexing.c | |
parent | 19d79cd6aca36ea74e50f3c608a188d81c79f6b3 (diff) | |
download | ocaml-840152fd2d0a26db041dc5e645f20eb67b157ae1.tar.gz |
Debut portage Cray T3E
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/lexing.c')
-rw-r--r-- | byterun/lexing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/lexing.c b/byterun/lexing.c index 56033d51ac..9105bce603 100644 --- a/byterun/lexing.c +++ b/byterun/lexing.c @@ -38,7 +38,7 @@ struct lexing_table { value lex_check; }; -#ifdef ARCH_BIG_ENDIAN +#if defined(ARCH_BIG_ENDIAN) || SIZEOF_SHORT != 2 #define Short(tbl,n) \ (*((unsigned char *)((tbl) + (n) * 2)) + \ (*((schar *)((tbl) + (n) * 2 + 1)) << 8)) |