Do-nothing MapPort() ifndef USE_UPNP. fixes #450
This commit is contained in:
parent
2c3691d53d
commit
9f0ac16942
1 changed files with 5 additions and 0 deletions
|
@ -1143,6 +1143,11 @@ void MapPort(bool fMapPort)
|
|||
printf("Error: ThreadMapPort(ThreadMapPort) failed\n");
|
||||
}
|
||||
}
|
||||
#else
|
||||
void MapPort(bool /* unused fMapPort */)
|
||||
{
|
||||
// Intentionally left blank.
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue