Skip to content

Commit

Permalink
qemu-plugin.h: remove GCC < 4
Browse files Browse the repository at this point in the history
Since commit efc6c07 ("configure: Add a test for the minimum compiler
version"), QEMU explicitely depends on GCC >= 4.8.

(clang >= 3.4 advertizes itself as GCC >= 4.2 compatible)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20201210134752.780923-5-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
elmarco authored and bonzini committed Dec 15, 2020
1 parent 44cb2c9 commit 53b5d95
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions include/qemu/qemu-plugin.h
Expand Up @@ -28,13 +28,8 @@
#endif
#define QEMU_PLUGIN_LOCAL
#else
#if __GNUC__ >= 4
#define QEMU_PLUGIN_EXPORT __attribute__((visibility("default")))
#define QEMU_PLUGIN_LOCAL __attribute__((visibility("hidden")))
#else
#define QEMU_PLUGIN_EXPORT
#define QEMU_PLUGIN_LOCAL
#endif
#define QEMU_PLUGIN_EXPORT __attribute__((visibility("default")))
#define QEMU_PLUGIN_LOCAL __attribute__((visibility("hidden")))
#endif

typedef uint64_t qemu_plugin_id_t;
Expand Down

0 comments on commit 53b5d95

Please sign in to comment.