On 11/11/19 6:03 PM, Bo Berglund via lazarus wrote:
then the idea is that if building for Linux and you use threads
anywhere you need to put this first in the project file, right?
Lazarus trunk -> New project automatically adds cthreads enclosed with
IFDEF UNIX, if you create your program man
On Mon, 11 Nov 2019 08:59:43 +0100, zeljko via lazarus
wrote:
>On 11/10/19 11:29 PM, Bo Berglund via lazarus wrote:
>> I have ported a console application from Windows to Linux (Raspbian
>> Buster) and I got to wonder about the check for a defined symbol
>> appearing in the beginning of the code
Bo Berglund via lazarus schrieb am Mo., 11.
Nov. 2019, 08:38:
> On Mon, 11 Nov 2019 00:20:59 +0100, Sven Barth via lazarus
> wrote:
>
> >Bo Berglund via lazarus schrieb am So.,
> 10.
> >Nov. 2019, 23:29:
> >
> >> I have ported a console application from Windows to Linux (Raspbian
> >> Buster) a
On 11/10/19 11:29 PM, Bo Berglund via lazarus wrote:
I have ported a console application from Windows to Linux (Raspbian
Buster) and I got to wonder about the check for a defined symbol
appearing in the beginning of the code as produced by the Lazarus
template:
uses
{$IFDEF UNIX}{$IFDEF UseCT
On Mon, 11 Nov 2019 00:20:59 +0100, Sven Barth via lazarus
wrote:
>Bo Berglund via lazarus schrieb am So., 10.
>Nov. 2019, 23:29:
>
>> I have ported a console application from Windows to Linux (Raspbian
>> Buster) and I got to wonder about the check for a defined symbol
>> appearing in the begin
Bo Berglund via lazarus schrieb am So., 10.
Nov. 2019, 23:29:
> I have ported a console application from Windows to Linux (Raspbian
> Buster) and I got to wonder about the check for a defined symbol
> appearing in the beginning of the code as produced by the Lazarus
> template:
>
> uses
> {$IFD
I have ported a console application from Windows to Linux (Raspbian
Buster) and I got to wonder about the check for a defined symbol
appearing in the beginning of the code as produced by the Lazarus
template:
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Would it not be