[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r4272: Define -D_WIN32_WINNT=0x0501 on Windows builds so that MiniU (in vidalia/trunk: . src/miniupnpc)



Author: edmanm
Date: 2010-04-28 17:19:23 -0400 (Wed, 28 Apr 2010)
New Revision: 4272

Modified:
   vidalia/trunk/CHANGELOG
   vidalia/trunk/src/miniupnpc/CMakeLists.txt
Log:

Define -D_WIN32_WINNT=0x0501 on Windows builds so that MiniUPnPc will
build with the latest versions of MinGW.


Modified: vidalia/trunk/CHANGELOG
===================================================================
--- vidalia/trunk/CHANGELOG	2010-04-25 17:09:44 UTC (rev 4271)
+++ vidalia/trunk/CHANGELOG	2010-04-28 21:19:23 UTC (rev 4272)
@@ -1,4 +1,6 @@
 0.2.9   xx-xxx-2010
+  o Define -D_WIN32_WINNT=0x0501 on Windows builds so that MiniUPnPc will
+    build with the latest versions of MinGW.
   o Add Danish, Brazilian Portguese and Vietnamese translations.
 
 

Modified: vidalia/trunk/src/miniupnpc/CMakeLists.txt
===================================================================
--- vidalia/trunk/src/miniupnpc/CMakeLists.txt	2010-04-25 17:09:44 UTC (rev 4271)
+++ vidalia/trunk/src/miniupnpc/CMakeLists.txt	2010-04-28 21:19:23 UTC (rev 4272)
@@ -29,6 +29,7 @@
 
 add_library(miniupnpc STATIC ${miniupnpc_SRCS})
 if (WIN32)
+  add_definitions(-D_WINNT_WIN32=0x0501)
   target_link_libraries(miniupnpc ws2_32)
 endif(WIN32)