[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] don't use MYSQL51 macro.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:27:36 JST 2012


Kouhei Sutou	2011-08-12 12:06:04 +0900 (Fri, 12 Aug 2011)

  New Revision: 83a760b530740a0b2833cc06d05cd55ee648e53f
  https://github.com/mroonga/mroonga/commit/83a760b530740a0b2833cc06d05cd55ee648e53f

  Log:
    don't use MYSQL51 macro.

  Modified files:
    mrn_table.cc

  Modified: mrn_table.cc (+2 -2)
===================================================================
--- mrn_table.cc    2011-08-12 12:01:41 +0900 (701efd4)
+++ mrn_table.cc    2011-08-12 12:06:04 +0900 (a9336d0)
@@ -32,10 +32,10 @@
 #define MYSQL_SERVER 1
 #include "mysql_version.h"
 
-#ifdef MYSQL51
+#if MYSQL_VERSION_ID < 50500
 #  include <mysql_priv.h>
 #  include <mysql/plugin.h>
-#else /* MYSQL51 */
+#else
 #  include <sql_priv.h>
 #  include <sql_class.h>
 #  include <probes_mysql.h>
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index