Bug 54209

Summary: Define CPU_TO_LE32 on OpenBSD
Product: Mesa Reporter: Martin Pieuchot <mpi>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: OpenBSD   
Whiteboard:
i915 platform: i915 features:
Attachments: Define CPU_TO_LE32 on OpenBSD

Description Martin Pieuchot 2012-08-29 13:09:22 UTC
Created attachment 66273 [details] [review]
Define CPU_TO_LE32 on OpenBSD

Currently the CPU_TO_LE32 macro on OpenBSD is extended to the bswap32() function which doesn't exist.

The attached patch correctly defines this macro required for big-endian architectures. It has been tested on powerpc and is already present in OpenBSD's source tree (Mesa 7.11.2).

Is it possible to include it? Please tell me if I missed something.
Comment 1 Brian Paul 2012-08-29 14:06:45 UTC
Thanks.  Committed: c4c4d4ad1e2dd25656543bac5bde3a59b85e22b8

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.