Browse Source

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

git-svn-id: trunk@29699 -
Tomas Hajny 10 years ago
parent
commit
e1b37dcc46
1 changed files with 2 additions and 4 deletions
  1. 2 4
      tests/webtbs/tw6822b.pp

+ 2 - 4
tests/webtbs/tw6822b.pp

@@ -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);