fix compile error on fpc 3.2.2
authorbeware <beware@bircd.org>
Sat, 25 Sep 2021 15:42:00 +0000 (15:42 +0000)
committerbeware <beware@bircd.org>
Sat, 25 Sep 2021 15:42:00 +0000 (15:42 +0000)
git-svn-id: file:///svnroot/lcore/trunk@159 b1de8a11-f9be-4011-bde0-cc7ace90066a

unixstuff.inc

index dca63ce0965c84a6dc4531b1385f1cbe5e06a26e..29d12a92ca674c7f7ac40728a444d8dbde4b601e 100644 (file)
     {$ifndef ver1_9_2}\r
       {$define flock     := fpflock}\r
       {$ifndef ver1_9_4}\r
-        procedure Execl(Todo:string);inline;\r
+        {$if FPC_FULLVERSION >= 30200}\r
+          procedure Execl(Todo:rawbytestring);inline;\r
+        {$else}\r
+          procedure Execl(Todo:string);inline;\r
+        {$endif}\r
        var\r
          p : ppchar;\r
        begin\r