diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-10 22:56:12 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-11 11:52:09 +0200 |
commit | aecf3810c22ac5e904b0eb7bfe26e3168f3f4f43 (patch) | |
tree | 89cb20e426cb3977337e1d16bdb0a445622d6f75 /include/ouroboros/endian.h | |
parent | 2b42b1e1121dfd715a78502a3652d326330b8160 (diff) | |
download | ouroboros-aecf3810c22ac5e904b0eb7bfe26e3168f3f4f43.tar.gz ouroboros-aecf3810c22ac5e904b0eb7bfe26e3168f3f4f43.zip |
build: Fix compilation on OS X Sierra
Diffstat (limited to 'include/ouroboros/endian.h')
-rw-r--r-- | include/ouroboros/endian.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ouroboros/endian.h b/include/ouroboros/endian.h index 873aff73..f93428b7 100644 --- a/include/ouroboros/endian.h +++ b/include/ouroboros/endian.h @@ -24,7 +24,8 @@ #ifndef OUROBOROS_ENDIAN_H #define OUROBOROS_ENDIAN_H -#if defined(__linux__) || defined(__CYGWIN__) || defined(__MACH__) +#if defined(__linux__) || defined(__CYGWIN__) || \ + (defined(__MACH__) && !defined(__APPLE__)) #ifndef _BSD_SOURCE #define _BSD_SOURCE |