From: Peter Maydell Date: Sun, 21 Apr 2013 12:30:03 +0000 (+0100) Subject: linux-user: fix compile error due to stray colon at end of #ifdef line X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~1985^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7edd2cf1a2eace84e3f8753e912449ae8871802f;p=sdk%2Femulator%2Fqemu.git 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: Peter Maydell Acked-By: Riku Voipio Signed-off-by: Stefan Hajnoczi --- diff --git a/linux-user/syscall.c b/linux-user/syscall.c index c705960..30e93bc 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -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;