diff options
author | unknown <knielsen@mysql.com> | 2006-06-24 07:45:23 +0200 |
---|---|---|
committer | unknown <knielsen@mysql.com> | 2006-06-24 07:45:23 +0200 |
commit | 52914641a44f8094c779492863399bee5316db75 (patch) | |
tree | eede19e50fc90663debbf17c9aecf7baa621752b /include/mysql | |
parent | 83f16e31da4fac73343911c59ff8fef1b3dc556b (diff) | |
download | mariadb-git-52914641a44f8094c779492863399bee5316db75.tar.gz |
Build fixes for Windows, Solaris, HPUX, AIX.
include/mysql/plugin.h:
Fix compilation on non-GCC compilers.
sql/CMakeLists.txt:
Add missing file.
Diffstat (limited to 'include/mysql')
-rw-r--r-- | include/mysql/plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h index 0cee54bffde..156c3312c53 100644 --- a/include/mysql/plugin.h +++ b/include/mysql/plugin.h @@ -31,6 +31,10 @@ #define MYSQL_FTPARSER_PLUGIN 2 /* Full-text parser plugin */ #define MYSQL_MAX_PLUGIN_TYPE_NUM 3 /* The number of plugin types */ +#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8) +#define __attribute__(A) +#endif + /* Macros for beginning and ending plugin declarations. Between mysql_declare_plugin and mysql_declare_plugin_end there should |