[Openais] [corosync trunk] rename struct queue to struct cs_queue for solaris port

Steven Dake sdake at redhat.com
Sat Jun 6 06:01:27 PDT 2009


Solaris defines a "typedef struct queue" in its publicly exposed
system-scope header files (sys/ustream.h).  Whichever engineer decided
that was a good idea probably needs a good long (permament?) vacation.

Anyway, this patch allows the rest of the Corosync code base to compile
on Solaris by changing queue to cs_queue.  There is no other way I can
figure out how to undefine the typedef.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync-trunk-solaris-port-queue-solaris-fired.patch
Type: text/x-patch
Size: 29025 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20090606/d6896169/attachment-0001.bin 


More information about the Openais mailing list