Add #ifdef USE_UPNP around usage of fUseUPnP to fix build failure.

This commit is contained in:
Daniel Holbert authored and Matt Corallo committed 2011-05-12 23:30:27 +02:00
1 parent 4b2e21e7ee
commit 5d1d69453a
1 file changed
-2
-2
View File
@@ -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