Browse Source

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

miguelfreitas
Daniel Holbert 14 years ago committed by Matt Corallo
parent
commit
5d1d69453a
  1. 2
      src/main.cpp

2
src/main.cpp

@ -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

Loading…
Cancel
Save