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 UseCThreads}
   cthreads,
   {$ENDIF}{$ENDIF}

Would it not be enough to use this instead:
uses
   {$IFDEF UNIX}
   cthreads,
   {$ENDIF}

AFAIK, in lazarus trunk there's no more {$IFDEF UseCThreads} when creating new project, only {$IFDEF UNIX}cthreads{$ENDIF}

zeljko
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to