diff options
author | Zoltan Mizsei <miqlas@gmail.com> | 2016-03-28 21:40:44 +0200 |
---|---|---|
committer | Zoltan Mizsei <miqlas@gmail.com> | 2016-03-28 21:40:44 +0200 |
commit | 794592f620b036432a74a8b55af458383814f953 (patch) | |
tree | a5349fd48c09232fb1b2218c5a1c6fac60e68c17 | |
parent | ce0e712bcb8876620e10c892d0b9005c84d92b53 (diff) | |
download | ffi-794592f620b036432a74a8b55af458383814f953.tar.gz |
Haiku endianness fix for x86 and x86_64, we don't have any other host arch btw. yet.
-rw-r--r-- | ext/ffi_c/rbffi_endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi_c/rbffi_endian.h b/ext/ffi_c/rbffi_endian.h index c108020..ebb8420 100644 --- a/ext/ffi_c/rbffi_endian.h +++ b/ext/ffi_c/rbffi_endian.h @@ -7,7 +7,7 @@ #include <sys/types.h> -#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__) +#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(__GLIBC__) || defined(__HAIKU__) # include <endian.h> # if !defined(LITTLE_ENDIAN) && defined(__LITTLE_ENDIAN) # define LITTLE_ENDIAN __LITTLE_ENDIAN |