joyent/libuv — Issue #305: win: use of undefined IPV6_HOPLIMIT in udp (MinGW)
Author: luislavena
Created: 2012-02-05 17:00:30+00:00
State: open

Seems that `IPV6_HOPLIMIT` is not defined under MinGW (mingw.org build), resulting in the following failure:

```
gcc -Iinclude -Iinclude/uv-private -g --std=gnu89 -D_WIN32_WINNT=0x0600 -Isrc/ares/config_win32 -o src/win/udp.o -c src/win/udp.c
src/win/udp.c: In function 'uv_udp_set_ttl':
src/win/udp.c:684:1: error: 'IPV6_HOPLIMIT' undeclared (first use in this function)
src/win/udp.c:684:1: note: each undeclared identifier is reported only once for each function it appears in
make: *** [src/win/udp.o] Error 1
```

Couldn't find a page in MSDN that documents it's value.