aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDaniel Holbert <[email protected]>2011-05-09 10:41:50 -0700
committerMatt Corallo <[email protected]>2011-05-12 23:30:27 +0200
commit5d1d69453a8bc9564a40b3bb2e1f05de233e868d (patch)
tree4cbb4e7e8c29e4e7c0e2de4f8836a86719596f8b /src/main.cpp
parentMerge pull request #218 from jgarzik/fee-update (diff)
downloaddiscoin-5d1d69453a8bc9564a40b3bb2e1f05de233e868d.tar.xz
discoin-5d1d69453a8bc9564a40b3bb2e1f05de233e868d.zip
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 8d7640f64..4f9ceac5a 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