Explorar o código

* fixed test for non-mswindows platforms

git-svn-id: trunk@10338 -
Jonas Maebe %!s(int64=17) %!d(string=hai) anos
pai
achega
88bdf1d674
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tests/webtbs/tw10825.pp

+ 2 - 0
tests/webtbs/tw10825.pp

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