projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76940e7
)
win32: WINVER is more proper thing to set than _WIN32_WINNT
author
Marko Kreen
<markokr@gmail.com>
Tue, 15 Feb 2011 06:57:20 +0000
(08:57 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Tue, 15 Feb 2011 07:14:03 +0000
(09:14 +0200)
m4/usual.m4
patch
|
blob
|
blame
|
history
diff --git
a/m4/usual.m4
b/m4/usual.m4
index 19a05eb02d5b260f1f380e01efd4920ff016f450..ca64e2423fa595d8f8e6014df561e4eb345eea2e 100644
(file)
--- a/
m4/usual.m4
+++ b/
m4/usual.m4
@@
-33,7
+33,7
@@
AC_MSG_RESULT([$PORTNAME])
dnl Set the flags before any feature tests.
if test "$PORTNAME" = "win32"; then
AC_DEFINE([WIN32_LEAN_AND_MEAN], [1], [Define to request cleaner win32 headers.])
- AC_DEFINE([
_WIN32_WINNT], [0x0501], [Define to max win32 API version (0x0400, 0x0501
).])
+ AC_DEFINE([
WINVER], [0x0501], [Define to max win32 API version (0x0501=XP
).])
else
AC_DEFINE([_GNU_SOURCE], [1], [Define to get working glibc.])
fi