Skip to content

Commit

Permalink
Merge pull request #59 from evadot/master
Browse files Browse the repository at this point in the history
Fix portable_endian.h for building on FreeBSD
  • Loading branch information
n1tehawk authored Oct 5, 2016
2 parents 89dac0f + 043761b commit fc30490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/portable_endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
# define __LITTLE_ENDIAN LITTLE_ENDIAN
# define __PDP_ENDIAN PDP_ENDIAN

#elif defined(__OpenBSD__)
#elif defined(__OpenBSD__) || defined(__FreeBSD__)

# include <sys/endian.h>

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

# include <sys/endian.h>

Expand Down

0 comments on commit fc30490

Please sign in to comment.