diff options
Diffstat (limited to 'rtl/inc/wstringh.inc')
-rw-r--r-- | rtl/inc/wstringh.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtl/inc/wstringh.inc b/rtl/inc/wstringh.inc index 57ca32a987..fde3bf756a 100644 --- a/rtl/inc/wstringh.inc +++ b/rtl/inc/wstringh.inc @@ -28,8 +28,8 @@ Function UpCase(const s : WideString) : WideString; Procedure Insert (Const Source : WideString; Var S : WideString; Index : SizeInt); Procedure Delete (Var S : WideString; Index,Size: SizeInt); -Procedure SetString (Out S : WideString; Buf : PWideChar; Len : SizeInt); -Procedure SetString (Out S : WideString; Buf : PChar; Len : SizeInt); +Procedure {$ifdef FPC_HAS_CPSTRING}fpc_setstring_widestr_pwidechar{$else}SetString{$endif}(Out S : WideString; Buf : PWideChar; Len : SizeInt); {$ifdef FPC_HAS_CPSTRING} compilerproc; {$endif FPC_HAS_CPSTRING} +Procedure {$ifdef FPC_HAS_CPSTRING}fpc_setstring_widestr_pansichar{$else}SetString{$endif}(Out S : WideString; Buf : PChar; Len : SizeInt); {$ifdef FPC_HAS_CPSTRING} compilerproc; {$endif FPC_HAS_CPSTRING} procedure DefaultAnsi2WideMove(source:pchar;cp : TSystemCodePage;var dest:widestring;len:SizeInt); |