diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-11-10 11:13:15 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-11-10 11:13:15 -0500 |
commit | d855fe4e896f6f981b6169fbb44734ae78c68706 (patch) | |
tree | 7d573722a1c898548265e20df614196c292a9059 /external/miniupnpc | |
parent | unbound: fix getaddrinfo detection for 32-bit windows (diff) | |
download | monero-d855fe4e896f6f981b6169fbb44734ae78c68706.tar.xz |
miniupnpc: bump the _POSIX_C_SOURCE feature macro
FreeBSD doesn't expose IPv6 structures without this.
Diffstat (limited to 'external/miniupnpc')
-rw-r--r-- | external/miniupnpc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/miniupnpc/CMakeLists.txt b/external/miniupnpc/CMakeLists.txt index a278ee687..bed9a3d22 100644 --- a/external/miniupnpc/CMakeLists.txt +++ b/external/miniupnpc/CMakeLists.txt @@ -16,7 +16,7 @@ endif () if (NOT WIN32) add_definitions (-DMINIUPNPC_SET_SOCKET_TIMEOUT) - add_definitions (-D_BSD_SOURCE -D_POSIX_C_SOURCE=1) + add_definitions (-D_BSD_SOURCE -D_POSIX_C_SOURCE=201112) else () add_definitions (-D_WIN32_WINNT=0x0501) # XP or higher for getnameinfo and friends endif () |