From 1dba69eb3803b34f10ba20f84d153a0934ca6ca5 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 29 Apr 1987 13:36:52 +0000 Subject: [PATCH] bug fix in lseek.e --- lang/cem/libcc/mon/lseek.e | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lang/cem/libcc/mon/lseek.e b/lang/cem/libcc/mon/lseek.e index 282a959b9..178c59399 100644 --- a/lang/cem/libcc/mon/lseek.e +++ b/lang/cem/libcc/mon/lseek.e @@ -21,5 +21,13 @@ loc -1 #endif 1 +#if EM_WSIZE==1 + ret 4*EM_WSIZE +#endif +#if EM_WSIZE==2 ret 2*EM_WSIZE +#endif +#if EM_WSIZE==4 + ret EM_WSIZE +#endif end -- 2.34.1