Kouhei Sutou
null+****@clear*****
Thu Oct 23 21:54:13 JST 2014
Kouhei Sutou 2014-10-23 21:54:13 +0900 (Thu, 23 Oct 2014) New Revision: f544f5fb1cb98dbc76a4a74ddbe652ee18459e17 https://github.com/groonga/groonga/commit/f544f5fb1cb98dbc76a4a74ddbe652ee18459e17 Message: Make buildable on no atomic 64bit operation environment such as PowerPC It makes buildable but it's not recommended to use on the environment. You will see many warning messages on build. Modified files: lib/groonga_in.h Modified: lib/groonga_in.h (+4 -0) =================================================================== --- lib/groonga_in.h 2014-10-23 20:28:00 +0900 (a0e658d) +++ lib/groonga_in.h 2014-10-23 21:54:13 +0900 (415c9df) @@ -513,6 +513,10 @@ typedef int grn_cond; # elif defined(__ATOMIC_SEQ_CST) /* GCC atomic builtins */ # define GRN_SET_64BIT(p,v) \ __atomic_store_n(p, v, __ATOMIC_SEQ_CST) +# else +# warning Need atomic 64bit operation support. The current implementation may break data. +# define GRN_SET_64BIT(p,v) \ + (*(p) = (v)) # endif /* ATOMIC 64BIT SET */ # ifdef HAVE_MKOSTEMP -------------- next part -------------- HTML����������������������������...Télécharger