Commit 7d17f097 authored by Filippo Della Betta's avatar Filippo Della Betta Committed by Youness Alaoui

Fixed compile on mingw/msys platform

parent adf1c960
...@@ -17,6 +17,11 @@ check_PROGRAMS = \ ...@@ -17,6 +17,11 @@ check_PROGRAMS = \
test-conncheck \ test-conncheck \
test-hmac test-hmac
if WINDOWS
AM_CFLAGS += -DWINVER=0x0501 # _WIN32_WINNT_WINXP
LDADD += -lws2_32
endif
dist_check_SCRIPTS = check-bind.sh dist_check_SCRIPTS = check-bind.sh
TESTS = $(check_PROGRAMS) TESTS = $(check_PROGRAMS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment