aboutsummaryrefslogtreecommitdiff
path: root/test/test-tcp-bind-error.c
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-09-01 13:47:19 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-09-01 13:50:50 +0200
commitf3f23b2d0550709b0852a776dfc7531878520aad (patch)
tree01444acafe560e41b7afc742bd8b1620467d2173 /test/test-tcp-bind-error.c
parent3e054c36294f9d8fc197c9d1b715ea2db334f6bf (diff)
downloadlibuv-f3f23b2d0550709b0852a776dfc7531878520aad.tar.gz
libuv-f3f23b2d0550709b0852a776dfc7531878520aad.zip
unix: define _GNU_SOURCE, exposes glibc-isms
EAI_NODATA and some other getaddrinfo() error codes are returned by glibc but not exposed in the headers unless _GNU_SOURCE is defined. Only define in src/uv-common.c because that's the only file that deals with EAI_* error codes.
Diffstat (limited to 'test/test-tcp-bind-error.c')
0 files changed, 0 insertions, 0 deletions