aboutsummaryrefslogtreecommitdiff
path: root/external/miniupnpc
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-11-10 11:13:15 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2014-11-10 11:13:15 -0500
commitd855fe4e896f6f981b6169fbb44734ae78c68706 (patch)
tree7d573722a1c898548265e20df614196c292a9059 /external/miniupnpc
parentunbound: fix getaddrinfo detection for 32-bit windows (diff)
downloadmonero-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.txt2
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 ()