Browse Source

* fixed test for non-mswindows platforms

git-svn-id: trunk@10338 -
Jonas Maebe 17 years ago
parent
commit
88bdf1d674
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/webtbs/tw10825.pp

+ 2 - 0
tests/webtbs/tw10825.pp

@@ -10,7 +10,9 @@ uses
 var
 var
  wstr1: widestring;
  wstr1: widestring;
 begin
 begin
+{$ifdef mswindows}
  winwidestringalloc:= false;
  winwidestringalloc:= false;
+{$endif}
  //crash exist with winwidestringalloc also but with bigger application only
  //crash exist with winwidestringalloc also but with bigger application only
  wstr1:= '123';
  wstr1:= '123';
  wstr1:= 'ABC'+wstr1+'abc';
  wstr1:= 'ABC'+wstr1+'abc';