[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] include config.h for --with-debug (DBUG_ON/DBUG_OFF) option.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:23:45 JST 2012


Kouhei Sutou	2011-01-12 22:48:56 +0900 (Wed, 12 Jan 2011)

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

  Log:
    include config.h for --with-debug (DBUG_ON/DBUG_OFF) option.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+12 -0)
===================================================================
--- ha_mroonga.cc    2010-12-31 19:31:40 +0900 (a9e82c7)
+++ ha_mroonga.cc    2011-01-12 22:48:56 +0900 (ae04cd1)
@@ -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
+
 #ifdef USE_PRAGMA_IMPLEMENTATION
 #pragma implementation
 #endif
-------------- next part --------------
HTML����������������������������...
Download 



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