Do-nothing MapPort() ifndef USE_UPNP. fixes #450

This commit is contained in:
Gavin Andresen 2011-08-09 12:38:17 -04:00
parent 2c3691d53d
commit 9f0ac16942

View file

@ -1143,6 +1143,11 @@ void MapPort(bool fMapPort)
printf("Error: ThreadMapPort(ThreadMapPort) failed\n");
}
}
#else
void MapPort(bool /* unused fMapPort */)
{
// Intentionally left blank.
}
#endif