NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Corosync on NetBSD



On Fri, Sep 17, 2010 at 12:29:49PM +0300, haad wrote:
> To me it seems that we should add this to sem.h. See [1]

No, as the opegroup page you referenced explicitly says:

  If required, it is of type union semun, which the application shall
  explicitly declare:

> These calls were added by FreeBSD guys in this commit [2].

They should be in #ifdef __FreeBSD__, as they are not portable.

Martin


Home | Main Index | Thread Index | Old Index