[Groonga-mysql-commit] mroonga/mroonga [master] use <...> instead of "..." for #include.

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2011年 7月 4日 (月) 23:38:24 JST


Kouhei Sutou	2011-07-04 14:38:24 +0000 (Mon, 04 Jul 2011)

  New Revision: f82f48b548cf036b7ce62ea867d97c16f08f06ae

  Log:
    use <...> instead of "..." for #include.

  Modified files:
    mrn_table.cc

  Modified: mrn_table.cc (+10 -9)
===================================================================
--- mrn_table.cc    2011-07-04 14:36:10 +0000 (a8e2b4e)
+++ mrn_table.cc    2011-07-04 14:38:24 +0000 (82533e2)
@@ -31,16 +31,17 @@
 
 #define MYSQL_SERVER 1
 #include "mysql_version.h"
-#if MYSQL_VERSION_ID < 50500
-#  include "mysql_priv.h"
+
+#ifdef MYSQL51
+#  include <mysql_priv.h>
 #  include <mysql/plugin.h>
-#else
-#  include "sql_priv.h"
-#  include "probes_mysql.h"
-#  include "sql_class.h"
-#  include "sql_partition.h"
-#  include "sql_servers.h"
-#  include "sql_base.h"
+#else /* MYSQL51 */
+#  include <sql_priv.h>
+#  include <sql_class.h>
+#  include <probes_mysql.h>
+#  include <sql_partition.h>
+#  include <sql_servers.h>
+#  include <sql_base.h>
 #endif
 #include "mrn_err.h"
 #include "mrn_sys.h"




Groonga-mysql-commit メーリングリストの案内
アーカイブの一覧に戻る