aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDaniel Holbert <dholbert@cs.stanford.edu>2011-05-09 10:41:50 -0700
committerMatt Corallo <matt@bluematt.me>2011-05-12 23:30:27 +0200
commit5d1d69453a8bc9564a40b3bb2e1f05de233e868d (patch)
tree4cbb4e7e8c29e4e7c0e2de4f8836a86719596f8b /src/main.cpp
parent4b2e21e7eec875a3e1ff898c50f3b8d4d57bae58 (diff)
Add #ifdef USE_UPNP around usage of fUseUPnP to fix build failure.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8d7640f640..4f9ceac5ac 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -65,13 +65,11 @@ 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