X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/2d2676149292e4e388bb102a41a3d64349ac88ed..7cad80355c81569210547a281e30cd491b5bb353:/lcorernd.pas?ds=inline

diff --git a/lcorernd.pas b/lcorernd.pas
index 673860f..648c87a 100644
--- a/lcorernd.pas
+++ b/lcorernd.pas
@@ -111,7 +111,7 @@ function randominteger(i:longint):longint;
 function randombits(b:integer):longint;
 
 {generate a version 4 random uuid}
-function generate_uuid:string;
+function generate_uuid:ansistring;
 
 {$ifndef nolcorernd}
 
@@ -132,7 +132,7 @@ implementation
 
 {$ifndef nolcorernd}
 uses
-  {$ifdef win32}windows,activex,{$endif}
+  {$ifdef mswindows}windows,activex,{$endif}
   {$ifdef unix}
     {$ifdef ver1_0}
       linux,
@@ -165,7 +165,7 @@ var
   pool:array[0..(pooldwords+seeddwords-1)] of wordtype;
   reseedcountdown:integer;
 
-{$ifdef win32}
+{$ifdef mswindows}
 function collect_seeding(var output;const bufsize:integer):integer;
 var
   l:packed record
@@ -402,12 +402,12 @@ begin
 end;
 
 const
-  ch:array[0..15] of char='0123456789abcdef';
+  ch:array[0..15] of ansichar='0123456789abcdef';
 
-function generate_uuid:string;
+function generate_uuid:ansistring;
 var
   buf:array[0..7] of word;
-function inttohex(w:word):string;
+function inttohex(w:word):ansistring;
 begin
   result := ch[w shr 12] + ch[(w shr 8) and $f] + ch[(w shr 4) and $f] + ch[w and $f];
 end;