aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-12-10 17:47:48 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-12-15 12:53:13 -0500
commitb8f02d1616ac02acbf74171af4119897a2d7e31a (patch)
treefd8b4f68da5a3f1206373d3c59a4b20ac82b31a0
parent28f86163a4395fd67203f9482cbca508c216de74 (diff)
downloadqemu-b8f02d1616ac02acbf74171af4119897a2d7e31a.zip
qemu-b8f02d1616ac02acbf74171af4119897a2d7e31a.tar.gz
qemu-b8f02d1616ac02acbf74171af4119897a2d7e31a.tar.bz2
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>
-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 7b9ac36..d7ae1f2 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