mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-19 12:38:19 +02:00
* the test made compilable also on other platforms than only Unix and Windows
git-svn-id: trunk@29699 -
This commit is contained in:
parent
90aeabb439
commit
e1b37dcc46
@ -12,12 +12,10 @@ var
|
|||||||
const
|
const
|
||||||
{$ifdef unix}
|
{$ifdef unix}
|
||||||
libname = './libtw6822a.'+SharedSuffix;
|
libname = './libtw6822a.'+SharedSuffix;
|
||||||
|
{$else unix}
|
||||||
|
libname = 'tw6822a.' + SharedSuffix;
|
||||||
{$endif unix}
|
{$endif unix}
|
||||||
|
|
||||||
{$ifdef windows}
|
|
||||||
libname = 'tw6822a.dll';
|
|
||||||
{$endif windows}
|
|
||||||
|
|
||||||
begin
|
begin
|
||||||
writeln('hello from loader program');
|
writeln('hello from loader program');
|
||||||
h:= loadlibrary(libname);
|
h:= loadlibrary(libname);
|
||||||
|
Loading…
Reference in New Issue
Block a user