Opened 14 years ago
Closed 14 years ago
#134 closed defect/bug (fixed)
endianness compile fix
Reported by: | spaetz | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | core | Version: | git master |
Severity: | Keywords: | compile fix, Apple, endian | |
Cc: |
Description
This small patch fixes the inclusion of endianess.h on Apple OSX. It should be applied.
Index: endianess.h =================================================================== --- endianess.h (revision 1062) +++ endianess.h (working copy) @@ -1,6 +1,10 @@
#ifndef ENDIANESS_HANDLER
-#include <endian.h> +#ifndef APPLE + #include <endian.h> +#else + # include <machine/endian.h> +#endif
/* Get machine dependent optimized versions of byte swapping functions. */ #include <byteswap.h>
Attachments (1)
Change History (2)
Changed 14 years ago by spaetz
comment:1 Changed 14 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed
patch applied. Committed revision 1063.
Note: See
TracTickets for help on using
tickets.
attach patch as attachment, otherwise line endings were garbled.