summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarc-André Lureau2020-12-10 14:47:48 +0100
committerPaolo Bonzini2020-12-15 18:53:13 +0100
commitb8f02d1616ac02acbf74171af4119897a2d7e31a (patch)
treefd8b4f68da5a3f1206373d3c59a4b20ac82b31a0 /include
parentcompiler.h: explicit case for Clang printf attribute (diff)
downloadqemu-b8f02d1616ac02acbf74171af4119897a2d7e31a.tar.gz
qemu-b8f02d1616ac02acbf74171af4119897a2d7e31a.tar.xz
qemu-b8f02d1616ac02acbf74171af4119897a2d7e31a.zip
poison: 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-10-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/exec/poison.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/exec/poison.h b/include/exec/poison.h
index 7b9ac361dc..d7ae1f23e7 100644
--- a/include/exec/poison.h
+++ b/include/exec/poison.h
@@ -3,7 +3,6 @@
#ifndef HW_POISON_H
#define HW_POISON_H
-#ifdef __GNUC__
#pragma GCC poison TARGET_I386
#pragma GCC poison TARGET_X86_64
@@ -93,4 +92,3 @@
#pragma GCC poison CONFIG_SOFTMMU
#endif
-#endif