[Groonga-commit] groonga/groonga at 6170b68 [master] mruby: use 64bit integer

Back to archive index

Kouhei Sutou null+****@clear*****
Fri May 13 14:07:28 JST 2016


Kouhei Sutou	2016-05-13 14:07:28 +0900 (Fri, 13 May 2016)

  New Revision: 6170b6855b27bb578556b12039165b2aed2a5cf3
  https://github.com/groonga/groonga/commit/6170b6855b27bb578556b12039165b2aed2a5cf3

  Message:
    mruby: use 64bit integer

  Modified files:
    vendor/mruby/CMakeLists.txt
    vendor/mruby/Makefile.am

  Modified: vendor/mruby/CMakeLists.txt (+3 -0)
===================================================================
--- vendor/mruby/CMakeLists.txt    2016-05-13 14:06:53 +0900 (8d450e4)
+++ vendor/mruby/CMakeLists.txt    2016-05-13 14:07:28 +0900 (45ff927)
@@ -86,6 +86,9 @@ if(GRN_WITH_MRUBY)
     set(MRUBY_C_COMPILE_FLAGS
       "${MRUBY_C_COMPILE_FLAGS} -Wno-bad-function-cast")
   endif()
+  add_definitions(
+    "-DMRB_INT64"
+    )
   if(WIN32)
     add_definitions(
       "-DMRB_BUILD_AS_DLL"

  Modified: vendor/mruby/Makefile.am (+2 -1)
===================================================================
--- vendor/mruby/Makefile.am    2016-05-13 14:06:53 +0900 (40108ac)
+++ vendor/mruby/Makefile.am    2016-05-13 14:07:28 +0900 (7d79424)
@@ -25,7 +25,8 @@ mruby_data_DATA =				\
 noinst_LTLIBRARIES = libmruby.la
 
 AM_CPPFLAGS =					\
-	-I$(srcdir)/../onigmo-source
+	-I$(srcdir)/../onigmo-source		\
+	-DMRB_INT64
 
 if PLATFORM_WIN32
 AM_CPPFLAGS +=					\
-------------- next part --------------
HTML����������������������������...
Download 



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