[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] LOCK_open is declared in C++ lincage.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:24:26 JST 2012


Kouhei Sutou	2011-06-08 10:46:39 +0900 (Wed, 08 Jun 2011)

  New Revision: dd554b022a9e9bebf874018a92a1b8024308ac23
  https://github.com/mroonga/mroonga/commit/dd554b022a9e9bebf874018a92a1b8024308ac23

  Log:
    LOCK_open is declared in C++ lincage.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+4 -4)
===================================================================
--- ha_mroonga.cc    2011-06-06 18:55:34 +0900 (93e924e)
+++ ha_mroonga.cc    2011-06-08 10:46:39 +0900 (2416469)
@@ -60,16 +60,16 @@
 #include "mrn_table.h"
 #include "ha_mroonga.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #if MYSQL_VERSION_ID >= 50500
 extern mysql_mutex_t LOCK_open;
 #else
 extern pthread_mutex_t LOCK_open;
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* global variables */
 grn_obj *mrn_db;
 grn_hash *mrn_hash;
-------------- next part --------------
HTML����������������������������...
다운로드 



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