[Bug 94570] New: Use BYTE_ORDER to determine byte order

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 16 13:31:56 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94570

            Bug ID: 94570
           Summary: Use BYTE_ORDER to determine byte order
           Product: Spice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: protocol
          Assignee: spice-bugs at lists.freedesktop.org
          Reporter: jasper at humppa.nl

Created attachment 122347
  --> https://bugs.freedesktop.org/attachment.cgi?id=122347&action=edit
Use BYTE_ORDER to determine byte order

Currently macros.h goes through various hoops to determine the byte order of
the target. This broke the build on OpenBSD/sparc64 as it wasn't listed in
hardcoded tests.

So it would be better to use BYTE_ORDER
(http://austingroupbugs.net/view.php?id=162) instead and if that's not
available try to manually figure out the byte order.

Attached patch implements that and is currently shipped in OpenBSD.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-bugs/attachments/20160316/4d9d9409/attachment.html>


More information about the spice-bugs mailing list