Opened 12 years ago

Closed 12 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)

endian.patch (410 bytes) - added by spaetz 12 years ago.
attach patch as attachment, otherwise line endings were garbled.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by spaetz

attach patch as attachment, otherwise line endings were garbled.

comment:1 Changed 12 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.