# From https://github.com/snakeyroc3/homebrew/commit/8cde20b7a8de828e5e094366629f12ae83aa96ea --- a/src/fcarch.h 2012-07-23 19:01:32.000000000 -0700 +++ b/src/fcarch.h 2012-10-20 10:29:15.000000000 -0700 @@ -46,6 +46,19 @@ * be64 1234 8 8 */ +#ifdef __APPLE__ +# include +# undef SIZEOF_VOID_P +# undef ALIGNOF_DOUBLE +# ifdef __LP64__ +# define SIZEOF_VOID_P 8 +# define ALIGNOF_DOUBLE 8 +# else +# define SIZEOF_VOID_P 4 +# define ALIGNOF_DOUBLE 4 +# endif +#endif + #if defined(__DARWIN_BYTE_ORDER) && __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN # define FC_ARCH_ENDIAN "le" #elif defined(__DARWIN_BYTE_ORDER) && __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN