[Groonga-mysql-commit] mroonga/mroonga [master] add dynamic link settings for build on windows. refs #1691

Back to archive index

Kentoku null+****@clear*****
Fri Mar 29 03:15:45 JST 2013


Kentoku	2013-03-29 03:15:45 +0900 (Fri, 29 Mar 2013)

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

  Message:
    add dynamic link settings for build on windows. refs #1691

  Added files:
    ha_mroonga.def
  Modified files:
    ha_mroonga.cpp
    sources.am

  Modified: ha_mroonga.cpp (+2 -2)
===================================================================
--- ha_mroonga.cpp    2013-03-27 16:52:23 +0900 (65c38e2)
+++ ha_mroonga.cpp    2013-03-29 03:15:45 +0900 (159d175)
@@ -83,11 +83,11 @@
 #define MRN_LONG_TEXT_SIZE  (1 << 31) //  2Gbytes
 
 #if MYSQL_VERSION_ID >= 50500
-extern mysql_mutex_t LOCK_open;
+extern MYSQL_PLUGIN_IMPORT mysql_mutex_t LOCK_open;
 #  define mrn_open_mutex_lock() mysql_mutex_lock(&LOCK_open)
 #  define mrn_open_mutex_unlock() mysql_mutex_unlock(&LOCK_open)
 #else
-extern pthread_mutex_t LOCK_open;
+extern MYSQL_PLUGIN_IMPORT pthread_mutex_t LOCK_open;
 #  define mrn_open_mutex_lock()
 #  define mrn_open_mutex_unlock()
 #endif

  Added: ha_mroonga.def (+12 -0) 100644
===================================================================
--- /dev/null
+++ ha_mroonga.def    2013-03-29 03:15:45 +0900 (89060fc)
@@ -0,0 +1,12 @@
+LIBRARY		ha_mroonga
+VERSION		1.0
+EXPORTS
+  last_insert_grn_id
+  last_insert_grn_id_init
+  last_insert_grn_id_deinit
+  mroonga_snippet
+  mroonga_snippet_init
+  mroonga_snippet_deinit
+  mroonga_command
+  mroonga_command_init
+  mroonga_command_deinit

  Modified: sources.am (+2 -1)
===================================================================
--- sources.am    2013-03-27 16:52:23 +0900 (a820f2c)
+++ sources.am    2013-03-29 03:15:45 +0900 (4082e94)
@@ -9,4 +9,5 @@ sources =					\
 	mrn_table.hpp				\
 	mrn_err.h				\
 	mrn_mysql.h				\
-	mrn_mysql_compat.h
+	mrn_mysql_compat.h				\
+	ha_mroonga.def
-------------- next part --------------
HTML����������������������������...
下載 



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