Ticket #2552: miniupnpc_api.patch
File miniupnpc_api.patch, 787 bytes (added by , 10 years ago) |
---|
-
source/network/NetServer.cpp
1 /* Copyright (C) 201 3Wildfire Games.1 /* Copyright (C) 2014 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * 4 4 * 0 A.D. is free software: you can redistribute it and/or modify … … 32 32 #include "ps/ConfigDB.h" 33 33 34 34 #if CONFIG2_MINIUPNPC 35 // Next four files are for UPnP port forwarding.36 35 #include <miniupnpc/miniwget.h> 37 36 #include <miniupnpc/miniupnpc.h> 38 37 #include <miniupnpc/upnpcommands.h> … … 275 274 ret = UPNP_GetSpecificPortMappingEntry(urls.controlURL, 276 275 data.first.servicetype, 277 276 psPort, protocall, 277 #if MINIUPNPC_API_VERSION >= 10 278 NULL/*remoteHost*/, 279 #endif 278 280 intClient, intPort, NULL/*desc*/, 279 281 NULL/*enabled*/, duration); 280 282