提交 7edd2cf1 编写于 作者: P Peter Maydell 提交者: Stefan Hajnoczi

linux-user: fix compile error due to stray colon at end of #ifdef line

Remove a stray colon from the end of a #ifdef line. Some versions
of gcc complain about this:
 linux-user/syscall.c: In function ‘do_syscall’:
 linux-user/syscall.c:7606:28: error: extra tokens at end of #ifdef directive [-Werror]
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
Acked-By: NRiku Voipio <riku.voipio@linaro.org>
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 e3351000
......@@ -7603,7 +7603,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
#endif
#else
case TARGET_NR_sendfile:
#ifdef TARGET_NR_sendfile64:
#ifdef TARGET_NR_sendfile64
case TARGET_NR_sendfile64:
#endif
goto unimplemented;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册