* the test made compilable also on other platforms than only Unix and Windows

git-svn-id: trunk@29699 -
This commit is contained in:
Tomas Hajny 2015-02-15 01:34:47 +00:00
parent 90aeabb439
commit e1b37dcc46

View File

@ -12,12 +12,10 @@ var
const
{$ifdef unix}
libname = './libtw6822a.'+SharedSuffix;
{$else unix}
libname = 'tw6822a.' + SharedSuffix;
{$endif unix}
{$ifdef windows}
libname = 'tw6822a.dll';
{$endif windows}
begin
writeln('hello from loader program');
h:= loadlibrary(libname);