Kouhei Sutou
null+****@clear*****
Thu Oct 9 17:37:39 JST 2014
Kouhei Sutou 2014-10-09 17:37:39 +0900 (Thu, 09 Oct 2014) New Revision: b3d38c5b9863cb7a9e93b9461c8b93fbfbfa79dc https://github.com/groonga/groonga/commit/b3d38c5b9863cb7a9e93b9461c8b93fbfbfa79dc Message: power8: fix build failure See also: * http://lists.askmonty.org/pipermail/commits/2014-October/006752.html * lp:maria/10.0 4437 Patch by Sergey Vojtovich. Thanks!!! Modified files: lib/groonga_in.h Modified: lib/groonga_in.h (+3 -0) =================================================================== --- lib/groonga_in.h 2014-10-08 21:39:26 +0900 (8837d47) +++ lib/groonga_in.h 2014-10-09 17:37:39 +0900 (d7ecff2) @@ -502,6 +502,9 @@ typedef int grn_cond; /* todo */ # define GRN_SET_64BIT(p,v) \ (void)atomic_swap_64(p, v) +# elif defined(__ATOMIC_SEQ_CST) /* GCC atomic builtins */ +# define GRN_SET_64BIT(p,v) \ + __atomic_store_n(p, v, __ATOMIC_SEQ_CST) # endif /* ATOMIC 64BIT SET */ # ifdef HAVE_MKOSTEMP -------------- next part -------------- HTML����������������������������...Download