diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-05-23 10:14:16 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-05-23 10:14:50 +0800 |
commit | e3db9632e7e8a1e4177f503aa9ffa184a991e8a4 (patch) | |
tree | f79d91606d87e3ca323e8d8d48ba3573be1a13cd | |
parent | 922dd548d5697556b76f720c985728d110ac6b9d (diff) |
config.h.win32.in: 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.
-rw-r--r-- | config.h.win32.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.win32.in b/config.h.win32.in index d5cf8c000..aa700e35b 100644 --- a/config.h.win32.in +++ b/config.h.win32.in @@ -208,7 +208,9 @@ /* #undef HAVE_HASMNTOPT */ /* Target the Windows XP API */ +#ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 +#endif #if _WIN32_WINNT >= 0x0600 /* if_indextoname() and if_nametoindex() are available on Windows Vista/Server |