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

[tor-commits] [tor/master] XXX Use static linking on Windows because miniupnpc doesn't work as DLL



commit 0ea28ccea0034ef846b0600f9b683d3b341299e6
Author: Steven Murdoch <Steven.Murdoch@xxxxxxxxxxxx>
Date:   Thu Jul 21 13:47:16 2011 +0100

    XXX Use static linking on Windows because miniupnpc doesn't work as DLL
---
 src/tools/tor-fw-helper/tor-fw-helper-upnp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/tools/tor-fw-helper/tor-fw-helper-upnp.c b/src/tools/tor-fw-helper/tor-fw-helper-upnp.c
index 18ca563..55bae11 100644
--- a/src/tools/tor-fw-helper/tor-fw-helper-upnp.c
+++ b/src/tools/tor-fw-helper/tor-fw-helper-upnp.c
@@ -9,6 +9,7 @@
 
 #include "orconfig.h"
 #ifdef MINIUPNPC
+#define STATICLIB
 #include <stdint.h>
 #include <string.h>
 #include <stdio.h>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits