projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
922dd54
)
config.h.win32.in: Define _WIN32_WINNT Conditionally
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 23 May 2014 02:14:16 +0000
(10:14 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 23 May 2014 02:14:50 +0000
(10:14 +0800)
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.
config.h.win32.in
patch
|
blob
|
history
diff --git
a/config.h.win32.in
b/config.h.win32.in
index
d5cf8c0
..
aa700e3
100644
(file)
--- 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