mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-18 11:39:02 +02:00
Problem: build targeting Windows XP is broken
Solution: fix build issues
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include <crtdbg.h>
|
||||
#pragma warning(disable : 4996)
|
||||
// iphlpapi is needed for if_nametoindex (not on Windows XP)
|
||||
#if !defined ZMQ_HAVE_WINDOWS_TARGET_XP
|
||||
#if _WIN32_WINNT > _WIN32_WINNT_WINXP
|
||||
#pragma comment(lib, "iphlpapi")
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user