Navigation Menu

Skip to content

Commit

Permalink
move MariaDB detect ifdef to mrn_mysql.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 26, 2011
1 parent d84769b commit 8339deb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ha_mroonga.h
Expand Up @@ -32,10 +32,6 @@ extern "C" {
#include <groonga.h>
#include "mrn_sys.h"

#ifdef MARIADB_BASE_VERSION
# define MRN_MARIADB_P 1
#endif

#if (MYSQL_VERSION_ID >= 50603) || \
(MYSQL_VERSION_ID >= 50513 && MYSQL_VERSION_ID < 50600) || \
(MYSQL_VERSION_ID >= 50158 && MYSQL_VERSION_ID < 50500)
Expand Down
4 changes: 4 additions & 0 deletions mrn_mysql.h
Expand Up @@ -53,6 +53,10 @@
# include <sql_partition.h>
#endif

#ifdef MARIADB_BASE_VERSION
# define MRN_MARIADB_P 1
#endif

#if MYSQL_VERSION_ID >= 50500
# define my_free(PTR, FLAG) my_free(PTR)
#endif
Expand Down

0 comments on commit 8339deb

Please sign in to comment.