Patches for Solaris/Illumos

Tested with OpenIndiana a151a9 and the current masters of libqb and corosync.
Corosync and pacemaker start without any errors.

Andreas
Yes, this works.

 

Von: Andrew Beekhof [mailto:notifications@github.com] 
Gesendet: Freitag, 15. August 2014 01:41
An: beekhof/pacemaker
Cc: Grüninger, Andreas (LGL Extern)
Betreff: Re: [pacemaker] Patches for Solaris/Illumos (#12)

 

In lib/common/remote.c:

> @@ -62,6 +62,31 @@ const int anon_tls_kx_order[] = {
>  /* Swab macros from linux/swab.h */
>  #ifdef HAVE_LINUX_SWAB_H
>  #  include <linux/swab.h>
> +#elif ON_SOLARIS

This should do it: 5e5dde9 <https://github.com/beekhof/pacemaker/commit/5e5dde9> 

—
Reply to this email directly or view it on GitHub <https://github.com/beekhof/pacemaker/pull/12/files#r16273799> . <https://github.com/notifications/beacon/692623__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMzY3ODg3OSwiZGF0YSI6eyJpZCI6MzkyODkyODl9fQ==--1a22a245fab2d8acb0a3c42e01f3b9c443838b7d.gif>