Просмотр исходного кода

* Fixed tests to compile for wince.

git-svn-id: trunk@10733 -
yury 17 лет назад
Родитель
Сommit
7869db56cc
4 измененных файлов с 6 добавлено и 14 удалено
  1. 2 2
      tests/webtbs/tw6822b.pp
  2. 1 9
      tests/webtbs/tw7838a.pp
  3. 2 2
      tests/webtbs/tw7838b.pp
  4. 1 1
      tests/webtbs/uw7838a.pp

+ 2 - 2
tests/webtbs/tw6822b.pp

@@ -16,9 +16,9 @@ libname = './libtw6822a.so';
 {$endif darwin}
 {$endif unix}
 
-{$ifdef mswindows}
+{$ifdef windows}
 libname = 'tw6822a.dll';
-{$endif mswindows}
+{$endif windows}
 
 begin
   writeln('hello from loader program');

+ 1 - 9
tests/webtbs/tw7838a.pp

@@ -7,15 +7,7 @@ library tw7838a;
 
 uses uw7838a;
 
-{$ifdef win32}
-const
- progname = '.\prog.exe';
-{$endif}
-
-
-
-
-function dllf: longint; 
+function dllf: longint;
 begin
   result:=exetest;
   if (result<>aa) then

+ 2 - 2
tests/webtbs/tw7838b.pp

@@ -24,8 +24,8 @@ const
   libname = './libtw7838a.so';
 {$endif}
 {$endif}
-{$ifdef mswindows}
-  libname = '.\tw7838a.dll';
+{$ifdef windows}
+  libname = 'tw7838a.dll';
 {$endif}
 
 var

+ 1 - 1
tests/webtbs/uw7838a.pp

@@ -6,7 +6,7 @@ interface
 var
   aa: longint;
 
-{$ifdef mswindows}
+{$ifdef windows}
 function exetest: longint; external 'tw7838b.exe'; 
 {$endif}