diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-04-12 14:22:12 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-04-12 14:22:12 -0400 |
commit | 79706a8e48a043b9ca83216ba9cbb7413e81710d (patch) | |
tree | 8da44bcaca6b7a3ce02c589957da284ac8adf9dd /main.h | |
parent | 2e8b33824f4bd76efd84837335eeb8a025787b4b (diff) | |
parent | 8bb5edc1c9054d835ef79c9f1ab3e021b0693303 (diff) |
Merge branch 'upnp' of https://github.com/TheBlueMatt/bitcoin
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -22,6 +22,11 @@ static const int64 CENT = 1000000; static const int64 MAX_MONEY = 21000000 * COIN; inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); } static const int COINBASE_MATURITY = 100; +#ifdef USE_UPNP +static const int fHaveUPnP = true; +#else +static const int fHaveUPnP = false; +#endif @@ -55,6 +60,7 @@ extern int fLimitProcessors; extern int nLimitProcessors; extern int fMinimizeToTray; extern int fMinimizeOnClose; +extern int fUseUPnP; |