Fixed a compilation problem: getnameinfo() was not linked.
authorgianluca <gianluca>
Thu, 13 Sep 2007 18:46:52 +0000 (18:46 +0000)
committergianluca <gianluca>
Thu, 13 Sep 2007 18:46:52 +0000 (18:46 +0000)
win32/prj/GNUmakefile

index ef4fe8f21d1e88d13d55a71d70304763a9889d50..b2ed0bb6812baf19f99d19637e69f61ddd62ca38 100644 (file)
@@ -24,6 +24,7 @@ CFLAGS = -I ${PCAP_DIR}/wpcap/libpcap/bpf \
        -DSIZEOF_CHAR=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 \
        -DSIZEOF_LONG_LONG=8 \
        -D_U_="__attribute__((unused))" \
+       -D_WIN32_WINNT=0x0501 \
        -mno-cygwin ${OPTFLAGS}
 LDFLAGS = 
 LIBS = -L ${PCAP_DIR}/WPCAP/LIB -lwpcap -lws2_32