X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Flib%2Fminiupnpc%2Fminiupnpc.pas;h=c8ad676fcd912155a3f3e5f594e7ea32059bd08a;hb=fa24d1d2238f0f9d9eb9b10c8701e28eb529a8d6;hp=37ced0cec0b51278e0733b8e12e56b98cc2fb8f0;hpb=510ce208a83791aca610ab38198a9ebbb2ad2bfe;p=d2df-sdl.git diff --git a/src/lib/miniupnpc/miniupnpc.pas b/src/lib/miniupnpc/miniupnpc.pas index 37ced0c..c8ad676 100644 --- a/src/lib/miniupnpc/miniupnpc.pas +++ b/src/lib/miniupnpc/miniupnpc.pas @@ -25,7 +25,8 @@ interface {$DEFINE MINIUPNPC_IMPL := cdecl; external 'miniupnpc.dll'} {$ENDIF} {$ELSE} - {$DEFINE MINIUPNPC_IMPL := cdecl; external 'miniupnpc'} + {$LINKLIB libminiupnpc} + {$DEFINE MINIUPNPC_IMPL := cdecl; external 'libminiupnpc'} {$ENDIF} const MINIUPNPC_URL_MAXSIZE=128; @@ -95,6 +96,7 @@ function upnpDiscover( minissdpdsock:pchar; sameport:integer; IPV6:integer; + ttl:shortint; error:pinteger):PUPNPDev; MINIUPNPC_IMPL;