diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/daemon_example/daemon_example.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/daemon_example/daemon_example.c b/plugin/daemon_example/daemon_example.c index ed9fac7574f..b70d8972095 100644 --- a/plugin/daemon_example/daemon_example.c +++ b/plugin/daemon_example/daemon_example.c @@ -19,11 +19,11 @@ #include <mysql/plugin.h> /* -#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8) + Disable __attribute__() on non-gcc compilers. +*/ +#if !defined(__attribute__) && !defined(__GNUC__) #define __attribute__(A) #endif -*/ - /* |