View previous topic :: View next topic |
Author |
Message |
Charles
Joined: 06 Nov 2007 Posts: 20
|
Posted: Fri Jun 18, 2010 4:32 pm Post subject: Window compile error |
|
|
This was sent to me by Transmission user rb07 who's working on porting Transmission to Windows. I don't have any firsthand knowledge of this code and am just making sure that patches get sent upstream...
Code: |
1177 --- transmission-2.00-orig/third-party/miniupnp/miniupnpc.c 2010-06-15 20:33:16.000000000 -0500
1178 +++ transmission-2.00/third-party/miniupnp/miniupnpc.c 2010-06-17 19:15:56.000000000 -0500
1179 @@ -24,7 +24,7 @@
1180 #include <winsock2.h>
1181 #include <ws2tcpip.h>
1182 #include <io.h>
1183 -#include <IPHlpApi.h>
1184 +#include <iphlpapi.h>
1185 #define snprintf _snprintf
1186 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
1187 #define strncasecmp _memicmp |
|
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Mon Jun 21, 2010 10:29 am Post subject: |
|
|
thanks.
I believe this patch is for compilation using cygwin ? _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
rb07
Joined: 31 May 2009 Posts: 8
|
Posted: Fri Jun 25, 2010 8:55 pm Post subject: |
|
|
miniupnp wrote: | thanks.
I believe this patch is for compilation using cygwin ? |
No, Cygwin doesn't need any patch.
The change is really for cross-compiling to the Mingw target. Obviously not needed for native Mingw since Windows is by default case insensitive, but I usually cross-compile under Linux... and the change makes no difference for those case insensitive environments. _________________ R.B. |
|
Back to top |
|
|
|