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

Back to archive index

null+****@clear***** null+****@clear*****
2011年 1月 12日 (水) 22:48:56 JST


Kouhei Sutou	2011-01-12 13:48:56 +0000 (Wed, 12 Jan 2011)

  New Revision: 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 10:31:40 +0000 (a9e82c7)
+++ ha_mroonga.cc    2011-01-12 13:48:56 +0000 (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




Groonga-mysql-commit メーリングリストの案内
Back to archive index