HAYASHI Kentaro
null+****@clear*****
Thu Sep 20 16:06:39 JST 2012
HAYASHI Kentaro 2012-09-20 16:06:39 +0900 (Thu, 20 Sep 2012) New Revision: 21c5e5e77e84064ffd898a5586dc9c950e60fa00 https://github.com/groonga/groonga/commit/21c5e5e77e84064ffd898a5586dc9c950e60fa00 Log: windows: add operator definition for unsigned long long int Added files: packages/windows/patches/mecab-mingw-unsigned-long-long-int.diff Added: packages/windows/patches/mecab-mingw-unsigned-long-long-int.diff (+24 -0) 100644 =================================================================== --- /dev/null +++ packages/windows/patches/mecab-mingw-unsigned-long-long-int.diff 2012-09-20 16:06:39 +0900 (9e115e6) @@ -0,0 +1,24 @@ +diff --exclude .svn -ur mecab.orig/configure.in mecab/configure.in +--- mecab.orig/configure.in 2012-09-20 13:46:17.431392052 +0900 ++++ mecab/configure.in 2012-09-20 15:09:21.695405072 +0900 +@@ -47,6 +47,7 @@ + AC_CHECK_SIZEOF(long long) + AC_CHECK_SIZEOF(size_t) + AC_TYPE_SIZE_T ++AC_TYPE_UNSIGNED_LONG_LONG_INT + + AC_FUNC_MMAP + AC_CHECK_LIB(stdc++, main, MECAB_LIBS="-lstdc++") +diff --exclude .svn -ur mecab.orig/src/string_buffer.h mecab/src/string_buffer.h +--- mecab.orig/src/string_buffer.h 2012-09-20 13:46:15.875392048 +0900 ++++ mecab/src/string_buffer.h 2012-09-20 15:09:46.783405140 +0900 +@@ -44,6 +44,9 @@ + StringBuffer& operator<<(unsigned short int n) { _UITOA(n); } + StringBuffer& operator<<(unsigned int n) { _UITOA(n); } + StringBuffer& operator<<(unsigned long int n) { _UITOA(n); } ++#ifdef HAVE_UNSIGNED_LONG_LONG_INT ++ StringBuffer& operator<<(unsigned long long int n) { _UITOA(n); } ++#endif + + StringBuffer& operator<< (char n) { + return this->write(n); -------------- next part -------------- HTML����������������������������...Download