diff options
author | Marc-André Lureau | 2020-12-10 14:47:51 +0100 |
---|---|---|
committer | Paolo Bonzini | 2020-12-15 18:53:14 +0100 |
commit | 36c5e0b8efb7a54b1cecca05de55a49ab91ac6dd (patch) | |
tree | bdf6bd908e84aef7f51331db9a4d11664b1c9a21 /linux-user | |
parent | compiler: remove GNUC check (diff) | |
download | qemu-36c5e0b8efb7a54b1cecca05de55a49ab91ac6dd.tar.gz qemu-36c5e0b8efb7a54b1cecca05de55a49ab91ac6dd.tar.xz qemu-36c5e0b8efb7a54b1cecca05de55a49ab91ac6dd.zip |
linux-user: remove GNUC check
QEMU requires Clang or GCC, that define and support __GNUC__ extensions.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201210134752.780923-13-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/strace.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c index 11fea14fba..e00275fcb5 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -24,7 +24,6 @@ struct syscallname { abi_long, abi_long, abi_long); }; -#ifdef __GNUC__ /* * It is possible that target doesn't have syscall that uses * following flags but we don't want the compiler to warn @@ -32,9 +31,6 @@ struct syscallname { * functions. It is ok to keep them while not used. */ #define UNUSED __attribute__ ((unused)) -#else -#define UNUSED -#endif /* * Structure used to translate flag values into strings. This is |