[Groonga-commit] groonga/groonga [master] Define GRN_DAT_EXPORT in Makefile.am instead of source file

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 17日 (木) 22:49:11 JST


Kouhei Sutou	2012-05-17 22:49:11 +0900 (Thu, 17 May 2012)

  New Revision: 4d153a52979a57c436784d9d4a1dd8e56b33a16b

  Log:
    Define GRN_DAT_EXPORT in Makefile.am instead of source file

  Modified files:
    lib/Makefile.am
    lib/dat.cpp

  Modified: lib/Makefile.am (+1 -1)
===================================================================
--- lib/Makefile.am    2012-05-17 22:42:22 +0900 (6dbb5a3)
+++ lib/Makefile.am    2012-05-17 22:49:11 +0900 (03dc1f4)
@@ -9,7 +9,7 @@ AM_CFLAGS =					\
 	$(GRN_CFLAGS)				\
 	$(MESSAGE_PACK_CFLAGS)
 DEFAULT_INCLUDES = -I$(top_builddir) -I$(top_srcdir)/include
-DEFS += -D_REENTRANT $(GRN_DEFS)
+DEFS += -D_REENTRANT $(GRN_DEFS) -DGRN_DAT_EXPORT
 
 include sources.am
 

  Modified: lib/dat.cpp (+0 -1)
===================================================================
--- lib/dat.cpp    2012-05-17 22:42:22 +0900 (96ae5c3)
+++ lib/dat.cpp    2012-05-17 22:49:11 +0900 (588a162)
@@ -24,7 +24,6 @@
 #include "dat.h"
 #include "util.h"
 
-#define GRN_DAT_EXPORT
 #include "dat/trie.hpp"
 #include "dat/cursor-factory.hpp"
 




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