index 37ced0cec0b51278e0733b8e12e56b98cc2fb8f0..c8ad676fcd912155a3f3e5f594e7ea32059bd08a 100644 (file)
{$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;
minissdpdsock:pchar;
sameport:integer;
IPV6:integer;
+ ttl:shortint;
error:pinteger):PUPNPDev; MINIUPNPC_IMPL;