Commit e3db9632 authored by Chun-wei Fan's avatar Chun-wei Fan Define _WIN32_WINNT Conditionally

This is done so that _WIN32_WINNT may be overridden in the project files,
if needed, so that one can access the Vista+ (or so) Windows APIs easier
by using "preprocessor defines" (or so) in the Visual C++ project files.
parent 922dd548
......@@ -208,7 +208,9 @@
/* #undef HAVE_HASMNTOPT */
/* Target the Windows XP API */
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#if _WIN32_WINNT >= 0x0600
/* if_indextoname() and if_nametoindex() are available on Windows Vista/Server
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment