[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] fix --with-debug=no doesn't applied.

Back to archive index

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


Kouhei Sutou	2011-06-28 07:27:22 +0900 (Tue, 28 Jun 2011)

  New Revision: 3221b753b55ee462e4ff9527232afc8bda63d482
  https://github.com/mroonga/mroonga/commit/3221b753b55ee462e4ff9527232afc8bda63d482

  Log:
    fix --with-debug=no doesn't applied.
    
    mrn_table.cc also uses config.h.
    Reported by @supistar. Thanks!!!

  Modified files:
    doc/ja/source/news.rst
    mrn_table.cc

  Modified: doc/ja/source/news.rst (+6 -0)
===================================================================
--- doc/ja/source/news.rst    2011-06-24 19:48:01 +0900 (b397b1f)
+++ doc/ja/source/news.rst    2011-06-28 07:27:22 +0900 (ecefa2a)
@@ -16,10 +16,16 @@
 * 安定してきたので、groongaのデフォルトログレベルをDUMPからNOTICEに変更。
 * Mac OS Xでのビルドをサポート。(@issmさんが報告)
 
+修正
+++++
+
+* 常にデバッグモードでビルドされる問題を修正。(@supistarさんが報告)
+
 感謝
 ++++
 
 * @issmさん
+* @supistarさん
 
 .. _release-0-6:
 

  Modified: mrn_table.cc (+12 -0)
===================================================================
--- mrn_table.cc    2011-06-24 19:48:01 +0900 (ddc2bcf)
+++ mrn_table.cc    2011-06-28 07:27:22 +0900 (8552240)
@@ -17,6 +17,18 @@
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+/* We need to undefine them because my_config.h defines them. :< */
+#  undef VERSION
+#  undef PACKAGE
+#  undef PACKAGE_BUGREPORT
+#  undef PACKAGE_NAME
+#  undef PACKAGE_STRING
+#  undef PACKAGE_TARNAME
+#  undef PACKAGE_VERSION
+#endif
+
 #define MYSQL_SERVER 1
 #include "mysql_version.h"
 #if MYSQL_VERSION_ID < 50500
-------------- next part --------------
HTML����������������������������...
Download 



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