summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorserg@janus.mylan <>2006-09-07 12:56:32 +0200
committerserg@janus.mylan <>2006-09-07 12:56:32 +0200
commite1db08e1daf4bc6f7d40c3afd6056242a960a4b8 (patch)
tree9901b297ca8f02175f27d3fd41eb168a944ede53 /plugin
parent1ac47c95135dfc7a733d5a6f11c08cbc341da33f (diff)
downloadmariadb-git-e1db08e1daf4bc6f7d40c3afd6056242a960a4b8.tar.gz
minor plugin api fixes:
remove #define __attribute__(A) from plugin.h increase API version because placeholders were added more robust definition of min_plugin_interface_version
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fulltext/plugin_example.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/fulltext/plugin_example.c b/plugin/fulltext/plugin_example.c
index 34350e317ba..7da6672190c 100644
--- a/plugin/fulltext/plugin_example.c
+++ b/plugin/fulltext/plugin_example.c
@@ -17,6 +17,10 @@
#include <ctype.h>
#include <mysql/plugin.h>
+#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
+#define __attribute__(A)
+#endif
+
static long number_of_calls= 0; /* for SHOW STATUS, see below */
/*