[Groonga-commit] groonga/groonga [master] Use WITH_ZLIB/LZO, instead of NO_ZLIB/LZO, for checking support.

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2012年 4月 16日 (月) 10:36:13 JST


Susumu Yata	2012-04-16 10:36:13 +0900 (Mon, 16 Apr 2012)

  New Revision: ca533874ff57bd42f709a5f22c83db08b36ed331

  Log:
    Use WITH_ZLIB/LZO, instead of NO_ZLIB/LZO, for checking support.

  Modified files:
    test/unit/core/test-context.c

  Modified: test/unit/core/test-context.c (+2 -2)
===================================================================
--- test/unit/core/test-context.c    2012-04-15 23:11:08 +0900 (96a3303)
+++ test/unit/core/test-context.c    2012-04-16 10:36:13 +0900 (09402d3)
@@ -134,7 +134,7 @@ test_support_zlib(void)
   support_p = GRN_BOOL_VALUE(&grn_support_p);
   GRN_OBJ_FIN(context, &grn_support_p);
 
-#ifndef NO_ZLIB
+#ifdef WITH_ZLIB
   cut_assert_true(support_p);
 #else
   cut_assert_false(support_p);
@@ -153,7 +153,7 @@ test_support_lzo(void)
   support_p = GRN_BOOL_VALUE(&grn_support_p);
   GRN_OBJ_FIN(context, &grn_support_p);
 
-#ifndef NO_LZO
+#ifdef WITH_LZO
   cut_assert_true(support_p);
 #else
   cut_assert_false(support_p);




Groonga-commit メーリングリストの案内
アーカイブの一覧に戻る