libev on AIX

Marc Lehmann schmorp at schmorp.de
Tue Jan 19 15:44:17 CET 2010


On Mon, Jan 18, 2010 at 05:22:48PM +0200, Aivars Kalvans <aivars.kalvans at gmail.com> wrote:
> libev fails to compile on AIX because of weird poll.h (#define events
> reqevents). Attached patch solves it but maybe you can write a better one.

Thanks, that is the most idiotic thing I have seen in a header file to date.

Is there a compile time symbol I can test for AIX (#ifdef __AIX or os)? Then
I will just disable the poll backend for that platform, I don't see it
becoming any more important in the future.

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



More information about the libev mailing list