aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-04-12 14:22:12 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-04-12 14:22:12 -0400
commit79706a8e48a043b9ca83216ba9cbb7413e81710d (patch)
tree8da44bcaca6b7a3ce02c589957da284ac8adf9dd /main.cpp
parent2e8b33824f4bd76efd84837335eeb8a025787b4b (diff)
parent8bb5edc1c9054d835ef79c9f1ab3e021b0693303 (diff)
downloadbitcoin-79706a8e48a043b9ca83216ba9cbb7413e81710d.tar.xz
Merge branch 'upnp' of https://github.com/TheBlueMatt/bitcoin
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index d5ab1edc7f..17a1b81c5c 100644
--- a/main.cpp
+++ b/main.cpp
@@ -65,6 +65,14 @@ int fLimitProcessors = false;
int nLimitProcessors = 1;
int fMinimizeToTray = true;
int fMinimizeOnClose = true;
+#ifdef USE_UPNP
+#if USE_UPNP
+int fUseUPnP = true;
+#else
+int fUseUPnP = false;
+#endif
+#endif
+