Skip to content

Commit

Permalink
Add OpenBSD and DragonFlyBSD support to brg_endian.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Oct 5, 2011
1 parent 276c077 commit deddcf6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion c_src/brg_endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
#define IS_LITTLE_ENDIAN 1234 /* byte 0 is least significant (i386) */

/* Include files where endian defines and byteswap functions may reside */
#if defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
#if defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ ) || \
defined( __DragonFly__ )
# include <sys/types.h>
# include <sys/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 ) || defined( __APPLE__ ) || \
defined( __CYGWIN32__ ) || defined( __DJGPP__ ) || defined( __osf__ )
Expand Down

0 comments on commit deddcf6

Please sign in to comment.