mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 22:59:15 +02:00
if a package defines UseCThreads in its uses options, the cthreads unit will be add to the uses clause of new projects and applications and to lazarus itself.
git-svn-id: trunk@8744 -
This commit is contained in:
parent
9632d9f355
commit
cd99516a89
@ -44,6 +44,9 @@ program Lazarus;
|
||||
|
||||
uses
|
||||
//cmem,
|
||||
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
||||
cthreads,
|
||||
{$ENDIF}{$ENDIF}
|
||||
{$IFDEF IDE_MEM_CHECK}
|
||||
MemCheck,
|
||||
{$ENDIF}
|
||||
|
@ -4072,6 +4072,9 @@ begin
|
||||
+'{$mode objfpc}{$H+}'+le
|
||||
+le
|
||||
+'uses'+le
|
||||
+' {$IFDEF UNIX}{$IFDEF UseCThreads}'+le
|
||||
+' cthreads,'+le
|
||||
+' {$ENDIF}{$ENDIF}'+le
|
||||
+' Classes'+le
|
||||
+' { add your units here };'+le
|
||||
+le
|
||||
@ -4127,6 +4130,9 @@ begin
|
||||
+'{$mode objfpc}{$H+}'+le
|
||||
+le
|
||||
+'uses'+le
|
||||
+' {$IFDEF UNIX}{$IFDEF UseCThreads}'+le
|
||||
+' cthreads,'+le
|
||||
+' {$ENDIF}{$ENDIF}'+le
|
||||
+' Interfaces, // this includes the LCL widgetset'+le
|
||||
+' Forms'+le
|
||||
+' { add your units here };'+le
|
||||
|
Loading…
Reference in New Issue
Block a user