libev cvs ECB_MEMORY_FENCE(_RELEASE) undefined

Marc Lehmann schmorp at schmorp.de
Wed Aug 24 18:08:18 CEST 2011


On Wed, Aug 24, 2011 at 09:34:31AM +0200, "common at gmx.ch" <common at gmx.ch> wrote:
> __x86 is not defined here, __i386 is.

Ah, I thought __x86 was more reliable.

> Maybe extend the check to include some more of
> http://sourceforge.net/apps/mediawiki/predef/index.php?title=Architectures#Intel_x86

Fortunately, no, the other compilers would not test true for the gcc
version check, so we only have to check for gcc there. And the "i386"
macro mentioned there is almost certainly wrong.

__i386__ however is the way to go.

I've updated libecb and libev accordingly.

Thanks!

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list