Browse Source

* Fix compilation of processunicode

Michaël Van Canneyt 1 year ago
parent
commit
8c8b336914

+ 2 - 1
packages/fcl-process/src/processbody.inc

@@ -270,6 +270,7 @@ implementation
 
 
 {$i process.inc}
 {$i process.inc}
 
 
+{$IFNDEF SKIPHELPERS}
 function TIOTypeHelper.ToString : string;
 function TIOTypeHelper.ToString : string;
 
 
 begin
 begin
@@ -319,7 +320,7 @@ begin
   WriteStr(Result,Self);
   WriteStr(Result,Self);
 end;
 end;
 
 
-
+{$ENDIF SKIPHELPERS}
 
 
 Procedure CommandToList(S : TProcessString; List : TProcessStrings);
 Procedure CommandToList(S : TProcessString; List : TProcessStrings);
 
 

+ 1 - 1
packages/fcl-process/src/processunicode.pp

@@ -55,7 +55,7 @@ Type
 {$define processunicodestring}
 {$define processunicodestring}
 {$ENDIF}
 {$ENDIF}
 {$define TProcessnamemacro:=TProcess}
 {$define TProcessnamemacro:=TProcess}
-
+{$DEFINE SKIPHELPERS}
 {$i processbody.inc}
 {$i processbody.inc}
 
 
 end.
 end.