Navigation Menu

Skip to content

Commit

Permalink
move MySQL version related 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 12ab07f commit d84769b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions mrn_mysql.h
Expand Up @@ -53,4 +53,8 @@
# include <sql_partition.h>
#endif

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

#endif /* _mrn_mysql_h */
4 changes: 0 additions & 4 deletions mrn_table.h
Expand Up @@ -23,10 +23,6 @@

#include <groonga.h>

#if MYSQL_VERSION_ID >= 50500
#define my_free(A,B) my_free(A)
#endif

typedef struct st_mroonga_share
{
char *table_name;
Expand Down

0 comments on commit d84769b

Please sign in to comment.