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

This commit is contained in:
Daniel Holbert 2011-05-09 10:41:50 -07:00 committed by Matt Corallo
parent 4b2e21e7ee
commit 5d1d69453a

View File

@ -65,13 +65,11 @@ int fLimitProcessors = false;
int nLimitProcessors = 1; int nLimitProcessors = 1;
int fMinimizeToTray = true; int fMinimizeToTray = true;
int fMinimizeOnClose = true; int fMinimizeOnClose = true;
#ifdef USE_UPNP
#if USE_UPNP #if USE_UPNP
int fUseUPnP = true; int fUseUPnP = true;
#else #else
int fUseUPnP = false; int fUseUPnP = false;
#endif #endif
#endif