null+****@clear*****
null+****@clear*****
2011年 11月 26日 (土) 16:50:25 JST
Kouhei Sutou 2011-11-26 07:50:25 +0000 (Sat, 26 Nov 2011)
New Revision: d84769bd55fd930ce73b0926889703aaa429c51f
Log:
move MySQL version related ifdef to mrn_mysql.h.
Modified files:
mrn_mysql.h
mrn_table.h
Modified: mrn_mysql.h (+4 -0)
===================================================================
--- mrn_mysql.h 2011-11-26 07:38:42 +0000 (3a7b54a)
+++ mrn_mysql.h 2011-11-26 07:50:25 +0000 (41d4af8)
@@ -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 */
Modified: mrn_table.h (+0 -4)
===================================================================
--- mrn_table.h 2011-11-26 07:38:42 +0000 (b62409b)
+++ mrn_table.h 2011-11-26 07:50:25 +0000 (9c08b2d)
@@ -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;