[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] [test][unit] use <...> for including a file that isn't in current directory

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 11:03:34 JST 2012


Kouhei Sutou	2012-03-07 11:41:31 +0900 (Wed, 07 Mar 2012)

  New Revision: 60324cc5c3eb24ca8af862838caa8bff7fe42722
  https://github.com/mroonga/mroonga/commit/60324cc5c3eb24ca8af862838caa8bff7fe42722

  Log:
    [test][unit] use <...> for including a file that isn't in current directory

  Modified files:
    test/unit/Makefile.am
    test/unit/test_mrn_sys.cpp

  Modified: test/unit/Makefile.am (+1 -1)
===================================================================
--- test/unit/Makefile.am    2012-03-07 11:40:01 +0900 (1b7337e)
+++ test/unit/Makefile.am    2012-03-07 11:41:31 +0900 (b9d8cda)
@@ -3,7 +3,7 @@ noinst_LTLIBRARIES = test_mrn_sys.la
 endif
 
 AM_CPPFLAGS = $(GROONGA_CFLAGS) $(MECAB_INCLUDES) $(CPPCUTTER_CFLAGS)
-AM_INCLUDES = -l. -l..
+AM_INCLUDES = -I$(top_srcdir)
 ACLOCAL_AMFLAGS = $$ACLOCAL_ARGS
 
 DEFS          = @DEFS@

  Modified: test/unit/test_mrn_sys.cpp (+2 -1)
===================================================================
--- test/unit/test_mrn_sys.cpp    2012-03-07 11:40:01 +0900 (6650f02)
+++ test/unit/test_mrn_sys.cpp    2012-03-07 11:41:31 +0900 (f6b4983)
@@ -20,7 +20,8 @@
 
 #include <string.h>
 #include <cppcutter.h>
-#include "mrn_sys.h"
+
+#include <mrn_sys.h>
 
 static grn_ctx *ctx;
 static grn_obj *db;
-------------- next part --------------
HTML����������������������������...
Download 



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