summaryrefslogtreecommitdiff
path: root/plugin/daemon_example
diff options
context:
space:
mode:
authormonty@mysql.com/narttu.mysql.fi <>2007-01-30 13:52:26 +0200
committermonty@mysql.com/narttu.mysql.fi <>2007-01-30 13:52:26 +0200
commit25e481aed854651c6a9247382947202feb16bf3f (patch)
tree62763e5b2b8fc594a6350438d3424ff872a91c85 /plugin/daemon_example
parent1f6d91c5a631927192336cb4e94c3fa8e8184d22 (diff)
downloadmariadb-git-25e481aed854651c6a9247382947202feb16bf3f.tar.gz
Fixed problems detected by pushbuild
Diffstat (limited to 'plugin/daemon_example')
-rw-r--r--plugin/daemon_example/daemon_example.c6
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
-*/
-
/*