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

nickm at torproject.org nickm at torproject.org
Tue Aug 30 19:58:36 UTC 2011


commit 0ea28ccea0034ef846b0600f9b683d3b341299e6
Author: Steven Murdoch <Steven.Murdoch at cl.cam.ac.uk>
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>





More information about the tor-commits mailing list