Explorar o código

+ implemented Randomize

git-svn-id: trunk@49550 -
nickysn %!s(int64=4) %!d(string=hai) anos
pai
achega
c275c3c7f2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      rtl/wasi/system.pp

+ 1 - 0
rtl/wasi/system.pp

@@ -86,6 +86,7 @@ end;
 
 Procedure Randomize;
 Begin
+  __wasi_random_get(@RandSeed,SizeOf(RandSeed));
 End;
 
 procedure System_exit;