diff options
author | cbdev <cb@cbcdn.com> | 2020-04-27 21:33:10 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-04-27 21:33:10 +0200 |
commit | 30d7adab904dfb5350ba57f1cc0e2de49a740c01 (patch) | |
tree | d29b62150a5b65b8383d4ed58597b3a507a7d6ca /portability.h | |
parent | f692715444c6ddeb47bf87b53acf46798785290a (diff) | |
download | midimonster-30d7adab904dfb5350ba57f1cc0e2de49a740c01.tar.gz midimonster-30d7adab904dfb5350ba57f1cc0e2de49a740c01.tar.bz2 midimonster-30d7adab904dfb5350ba57f1cc0e2de49a740c01.zip |
Fix OSX compilation
Diffstat (limited to 'portability.h')
-rw-r--r-- | portability.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/portability.h b/portability.h index f0bfd07..c249a10 100644 --- a/portability.h +++ b/portability.h @@ -18,6 +18,10 @@ #define htole64(x) OSSwapHostToLittleInt64(x) #define be64toh(x) OSSwapBigToHostInt64(x) #define le64toh(x) OSSwapLittleToHostInt64(x) + + #ifndef IPV6_ADD_MEMBERSHIP + #define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP + #endif #endif #ifdef _WIN32 |