From 3bf8ed9f9545a956985b6c3c0658893910e01f75 Mon Sep 17 00:00:00 2001 From: beware Date: Sat, 25 Sep 2021 15:42:00 +0000 Subject: [PATCH] fix compile error on fpc 3.2.2 git-svn-id: file:///svnroot/lcore/trunk@159 b1de8a11-f9be-4011-bde0-cc7ace90066a --- unixstuff.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/unixstuff.inc b/unixstuff.inc index dca63ce..29d12a9 100644 --- a/unixstuff.inc +++ b/unixstuff.inc @@ -43,7 +43,11 @@ {$ifndef ver1_9_2} {$define flock := fpflock} {$ifndef ver1_9_4} - procedure Execl(Todo:string);inline; + {$if FPC_FULLVERSION >= 30200} + procedure Execl(Todo:rawbytestring);inline; + {$else} + procedure Execl(Todo:string);inline; + {$endif} var p : ppchar; begin -- 2.30.2