[Groonga-commit] groonga/groonga [master] windows: add MeCab 0.994 related patch

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Sep 20 13:06:27 JST 2012


HAYASHI Kentaro	2012-09-20 13:06:27 +0900 (Thu, 20 Sep 2012)

  New Revision: 03e5a3bfe5cfe0a2fec6acc1c62c2106bc587d60
  https://github.com/groonga/groonga/commit/03e5a3bfe5cfe0a2fec6acc1c62c2106bc587d60

  Log:
    windows: add MeCab 0.994 related patch

  Added files:
    packages/windows/patches/mecab-0.994-mingw-yieldprocessor-macro.diff

  Added: packages/windows/patches/mecab-0.994-mingw-yieldprocessor-macro.diff (+11 -0) 100644
===================================================================
--- /dev/null
+++ packages/windows/patches/mecab-0.994-mingw-yieldprocessor-macro.diff    2012-09-20 13:06:27 +0900 (6058f19)
@@ -0,0 +1,11 @@
+--- mecab-0.994.orig/src/thread.h	2011-12-05 02:31:09.000000000 +0900
++++ mecab-0.994/src/thread.h	2012-09-20 12:15:46.695377866 +0900
+@@ -47,7 +47,7 @@
+ #undef yield_processor
+ #define atomic_add(a, b) ::InterlockedExchangeAdd(a, b)
+ #define compare_and_swap(a, b, c)  ::InterlockedCompareExchange(a, c, b)
+-#define yield_processor() ::YieldProcessor()
++#define yield_processor() YieldProcessor()
+ #define HAVE_ATOMIC_OPS 1
+ #endif
+ 
-------------- next part --------------
HTML����������������������������...
Download 



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