mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
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.
This commit is contained in:
parent
922dd548d5
commit
e3db9632e7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user