changeset 588:afa7479934ea draft

Add #ifdef USE_UPNP around usage of fUseUPnP to fix build failure.
author Daniel Holbert <dholbert@cs.stanford.edu>
date Mon, 09 May 2011 10:41:50 -0700
parents 4ac30deba471
children 7fcd1347bd3f
files src/main.cpp
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -65,13 +65,11 @@
 int nLimitProcessors = 1;
 int fMinimizeToTray = true;
 int fMinimizeOnClose = true;
-#ifdef USE_UPNP
 #if USE_UPNP
 int fUseUPnP = true;
 #else
 int fUseUPnP = false;
 #endif
-#endif