Skip to content

Commit

Permalink
Added portable_endian support for Haiku OS (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
markround authored and reaperhulk committed Jan 16, 2019
1 parent 32d80d6 commit 7622823
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/_csrc/portable_endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@

# include <sys/endian.h>

#elif defined(__HAIKU__)

# include <endian.h>

#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)

# include <sys/endian.h>
Expand Down

0 comments on commit 7622823

Please sign in to comment.