From: beware Date: Sat, 25 Sep 2021 15:42:00 +0000 (+0000) Subject: fix compile error on fpc 3.2.2 X-Git-Url: http://www.lcore.org/git/lcore.git/commitdiff_plain/3bf8ed9f9545a956985b6c3c0658893910e01f75 fix compile error on fpc 3.2.2 git-svn-id: file:///svnroot/lcore/trunk@159 b1de8a11-f9be-4011-bde0-cc7ace90066a --- 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