|
From: <sv...@va...> - 2005-09-30 00:06:16
|
Author: njn
Date: 2005-09-30 01:06:09 +0100 (Fri, 30 Sep 2005)
New Revision: 4822
Log:
Future-proof a piece of conditional compilation.
Modified:
trunk/coregrind/m_syswrap/syswrap-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-linux.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_syswrap/syswrap-linux.c 2005-09-29 23:26:06 UTC (re=
v 4821)
+++ trunk/coregrind/m_syswrap/syswrap-linux.c 2005-09-30 00:06:09 UTC (re=
v 4822)
@@ -615,8 +615,10 @@
=20
#if defined(VGP_x86_linux) || defined(VGP_ppc32_linux)
offset =3D ARG6 * VKI_PAGE_SIZE;
-#else
+#elif defined(VGP_amd64_linux)
offset =3D ARG6;
+#elif
+# error Unknown platform
#endif
=20
/* Otherwise we're OK (so far). Install aspacem's choice of
|