OSDN Git Service

makeguids: Ensure compatibility with other libcs
authorA. Wilcox <AWilcox@Wilcox-Tech.com>
Sat, 19 Aug 2017 01:36:03 +0000 (20:36 -0500)
committerPeter Jones <pjones@redhat.com>
Mon, 4 Dec 2017 22:39:23 +0000 (17:39 -0500)
commite04281e60cf0de094f8372e8682d3c7d1aef4ee8
treea1ce0054c0a86abef96b4dc4f22f1cdd0f33d8d5
parentbe657aa40e9398dbe7f4ce746efe3921b4ebc504
makeguids: Ensure compatibility with other libcs

The musl libc does not provide __bswap_constant_XX.
If <endian.h> does not provide these macros, use our own.

This fixes issue #84.
src/makeguids.c