Commit 7fdb1677 authored by Giuseppe Corbelli's avatar Giuseppe Corbelli

[tests/testutil.hpp] Problem: wrong windows.hpp path

Solution: correct path is ../src/windows.hpp. Also added automatic linking
of iphlpapi library if required and using MSVC
parent 0b01cc1e
......@@ -51,10 +51,14 @@
#include <string.h>
#if defined _WIN32
# include "windows.hpp"
# include "../src/windows.hpp"
# if defined _MSC_VER
# include <crtdbg.h>
# pragma warning(disable:4996)
// iphlpapi is needed for if_nametoindex (not on Windows XP)
# if !defined ZMQ_HAVE_WINDOWS_TARGET_XP
# pragma comment(lib,"iphlpapi")
# endif
# endif
#else
# include <pthread.h>
......
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