瀏覽代碼

XXX Use static linking on Windows because miniupnpc doesn't work as DLL

Steven Murdoch 13 年之前
父節點
當前提交
0ea28ccea0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/tools/tor-fw-helper/tor-fw-helper-upnp.c

+ 1 - 0
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>