fpc/tests/webtbs/tw9089c.pp
Jonas Maebe b184ae0745 * fixed libname
git-svn-id: trunk@14277 -
2009-11-27 10:02:44 +00:00

21 lines
356 B
ObjectPascal

{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos}
{ %needlibrary }
program ptest;
{$ifdef fpc}{$mode objfpc}{$H+}{$endif fpc}
const
{$if defined(windows) or defined(mswindows)}
libname='tw9089b.dll';
{$else}
libname='tw9089b';
{$linklib tw9089b}
{$ifend}
function Test: Integer; cdecl; external libname;
begin
Writeln(Test);
end.